Update linux build dependency script.
[chromium-blink-merge.git] / chrome_frame / pin_module.h
blob8b4b4e8bd536b62f3c855abf660ea108a91a3bc5
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.
17 void PinModule();
19 } // namespace chrome_frame
21 #endif // CHROME_FRAME_PIN_MODULE_H_