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/plugin/plugin_channel_base.h | |
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/plugin/plugin_channel_base.h')
-rw-r--r-- | chrome/plugin/plugin_channel_base.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/plugin/plugin_channel_base.h b/chrome/plugin/plugin_channel_base.h index 317f0a6..dd70cba 100644 --- a/chrome/plugin/plugin_channel_base.h +++ b/chrome/plugin/plugin_channel_base.h @@ -5,10 +5,10 @@ #ifndef CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ #define CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ -#include <hash_map> #include <string> #include "base/basictypes.h" +#include "base/hash_tables.h" #include "base/message_loop.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" @@ -97,7 +97,7 @@ class PluginChannelBase : public IPC::Channel::Listener, // Keep track of all the registered NPObjects proxies/stubs so that when the // channel is closed we can inform them. - typedef stdext::hash_map<int, IPC::Channel::Listener*> ListenerMap; + typedef base::hash_map<int, IPC::Channel::Listener*> ListenerMap; ListenerMap npobject_listeners_; // Used to implement message routing functionality to WebPlugin[Delegate] @@ -117,4 +117,3 @@ class PluginChannelBase : public IPC::Channel::Listener, }; #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ - |