diff options
Diffstat (limited to 'chrome/common/chrome_plugin_lib.h')
-rw-r--r-- | chrome/common/chrome_plugin_lib.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/common/chrome_plugin_lib.h b/chrome/common/chrome_plugin_lib.h index 8cdfa70..1609bad 100644 --- a/chrome/common/chrome_plugin_lib.h +++ b/chrome/common/chrome_plugin_lib.h @@ -57,8 +57,10 @@ class ChromePluginLib : public base::RefCounted<ChromePluginLib> { // Method to call a test function in the plugin, used for unit tests. int CP_Test(void* param); - // The registroy path to search for Chrome Plugins/ +#if defined(OS_WIN) + // The registry path to search for Chrome Plugins/ static const TCHAR kRegistryChromePlugins[]; +#endif // defined(OS_WIN) private: friend class base::RefCounted<ChromePluginLib>; @@ -81,7 +83,10 @@ class ChromePluginLib : public base::RefCounted<ChromePluginLib> { void Unload(); FilePath filename_; // the path to the plugin +#if defined(OS_WIN) + // TODO(port): Remove ifdefs when we have portable replacement for HMODULE. HMODULE module_; // the opened plugin handle +#endif // defined(OS_WIN) bool initialized_; // is the plugin initialized // Exported symbols from the plugin, looked up by name. |