1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_FRAME_PIN_MODULE_H_
6 #define CHROME_FRAME_PIN_MODULE_H_
8 namespace chrome_frame
{
10 typedef void (*PinModuleCallbackFn
)(void);
12 // Sets a callback function to be invoked when the module is pinned.
13 void SetPinModuleCallback(PinModuleCallbackFn callback
);
15 // Utility function that prevents the current module from ever being unloaded.
16 // Call if you make irreversible patches.
19 } // namespace chrome_frame
21 #endif // CHROME_FRAME_PIN_MODULE_H_