summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_lib.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-14 17:23:19 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-14 17:23:19 +0000
commitd195f60a9b147fc2593167b639976d0e1012dab6 (patch)
tree5107b9251fe237cb66a87952b6d7742711f7108a /chrome/common/chrome_plugin_lib.h
parent36f1290ca4b444a7960e8528cc5b8c9b23d53e4d (diff)
downloadchromium_src-d195f60a9b147fc2593167b639976d0e1012dab6.zip
chromium_src-d195f60a9b147fc2593167b639976d0e1012dab6.tar.gz
chromium_src-d195f60a9b147fc2593167b639976d0e1012dab6.tar.bz2
Porting in chrome/common/
Review URL: http://codereview.chromium.org/17604 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_lib.h')
-rw-r--r--chrome/common/chrome_plugin_lib.h7
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.