diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:51:30 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:51:30 +0000 |
commit | 2314403e94e659d586475e59975e9d84d87cbcd3 (patch) | |
tree | b6abf72ec953e61297307a62ad67517c273bdddb /chrome/common/chrome_plugin_lib.cc | |
parent | e9fe92b3357e9010d14dcf628fe3dd7dad830a20 (diff) | |
download | chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.zip chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.tar.gz chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.tar.bz2 |
Replace all instances of <hash_map> with a "base/hash_tabe.h",
which does the right thing based on whatever platform we're
compiling for, along with changing the hardcoded "stdext::",
which is a MSVC++ism to use base::hash_{map,set}.
B=1869
Review URL: http://codereview.chromium.org/1629
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_lib.cc')
-rw-r--r-- | chrome/common/chrome_plugin_lib.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/chrome_plugin_lib.cc b/chrome/common/chrome_plugin_lib.cc index bebff70..402075f 100644 --- a/chrome/common/chrome_plugin_lib.cc +++ b/chrome/common/chrome_plugin_lib.cc @@ -5,6 +5,7 @@ #include "chrome/common/chrome_plugin_lib.h" #include "base/command_line.h" +#include "base/hash_tables.h" #include "base/histogram.h" #include "base/path_service.h" #include "base/perftimer.h" @@ -21,7 +22,7 @@ const TCHAR ChromePluginLib::kRegistryChromePlugins[] = static const TCHAR kRegistryLoadOnStartup[] = _T("LoadOnStartup"); static const TCHAR kRegistryPath[] = _T("Path"); -typedef stdext::hash_map<std::wstring, scoped_refptr<ChromePluginLib> > +typedef base::hash_map<std::wstring, scoped_refptr<ChromePluginLib> > PluginMap; // A map of all the instantiated plugins. @@ -257,4 +258,3 @@ void ChromePluginLib::Unload() { module_ = 0; } } - |