diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 16:48:45 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 16:48:45 +0000 |
commit | 690a99c80e4fe4e6eda9010b88e4438f57912336 (patch) | |
tree | 423390d4af89abd910ffd69f5e446720b1aa5b1f /chrome/plugin/plugin_process.h | |
parent | 8c643f00166c14b146f8e5e0d2beedddacb58aab (diff) | |
download | chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.zip chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.tar.gz chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.tar.bz2 |
Move plugins to FilePaths, some cleanup
Review URL: http://codereview.chromium.org/16456
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7588 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_process.h')
-rw-r--r-- | chrome/plugin/plugin_process.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/plugin/plugin_process.h b/chrome/plugin/plugin_process.h index 444d597..c7c0b78 100644 --- a/chrome/plugin/plugin_process.h +++ b/chrome/plugin/plugin_process.h @@ -14,7 +14,7 @@ class PluginProcess : public ChildProcess { public: static bool GlobalInit(const std::wstring& channel_name, - const std::wstring& plugin_path); + const FilePath& plugin_path); // Invoked with the response from the browser indicating whether it is // ok to shutdown the plugin process. @@ -26,19 +26,19 @@ class PluginProcess : public ChildProcess { static void BrowserShutdown(); // File path of the plugin dll this process hosts. - const std::wstring& plugin_path() { return plugin_path_; } + const FilePath& plugin_path() { return plugin_path_; } private: friend class PluginProcessFactory; PluginProcess(const std::wstring& channel_name, - const std::wstring& plugin_path); + const FilePath& plugin_path); virtual ~PluginProcess(); virtual void OnFinalRelease(); void Shutdown(); void OnProcessShutdownTimeout(); - const std::wstring plugin_path_; + const FilePath plugin_path_; // The thread where plugin instances live. Since NPAPI plugins weren't // created with multi-threading in mind, running multiple instances on |