diff options
Diffstat (limited to 'chrome/browser/plugin_process_info.h')
-rw-r--r-- | chrome/browser/plugin_process_info.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/browser/plugin_process_info.h b/chrome/browser/plugin_process_info.h index badc902..90fc4f0 100644 --- a/chrome/browser/plugin_process_info.h +++ b/chrome/browser/plugin_process_info.h @@ -14,15 +14,17 @@ #include <string> #include "windows.h" +#include "base/file_path.h" + class PluginProcessInfo { public: - PluginProcessInfo(std::wstring dll_path, HANDLE process) - : dll_path_(dll_path), + PluginProcessInfo(FilePath plugin_path, HANDLE process) + : plugin_path_(plugin_path), process_(process) { } PluginProcessInfo(const PluginProcessInfo& ppi) { - dll_path_ = ppi.dll_path_; + plugin_path_ = ppi.plugin_path_; process_ = ppi.process_; } @@ -31,7 +33,7 @@ class PluginProcessInfo { PluginProcessInfo& PluginProcessInfo::operator=(const PluginProcessInfo& ppi) { if (this != &ppi) { - dll_path_ = ppi.dll_path_; + plugin_path_ = ppi.plugin_path_; process_ = ppi.process_; } return *this; @@ -42,19 +44,19 @@ class PluginProcessInfo { bool operator <(const PluginProcessInfo& rhs) const { if (process_ != rhs.process_) return process_ < rhs.process_; - return dll_path_ < rhs.dll_path_; + return plugin_path_ < rhs.plugin_path_; } bool operator ==(const PluginProcessInfo& rhs) const { - return (process_ == rhs.process_) && (dll_path_ == rhs.dll_path_); + return (process_ == rhs.process_) && (plugin_path_ == rhs.plugin_path_); } - std::wstring dll_path() const { return dll_path_; } + FilePath plugin_path() const { return plugin_path_; } HANDLE process() const { return process_; } private: - std::wstring dll_path_; + FilePath plugin_path_; HANDLE process_; }; |