summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_instance.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-08 20:51:30 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-08 20:51:30 +0000
commit2314403e94e659d586475e59975e9d84d87cbcd3 (patch)
treeb6abf72ec953e61297307a62ad67517c273bdddb /chrome/browser/browsing_instance.h
parente9fe92b3357e9010d14dcf628fe3dd7dad830a20 (diff)
downloadchromium_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/browser/browsing_instance.h')
-rw-r--r--chrome/browser/browsing_instance.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/browsing_instance.h b/chrome/browser/browsing_instance.h
index d62e523..e4b6043 100644
--- a/chrome/browser/browsing_instance.h
+++ b/chrome/browser/browsing_instance.h
@@ -5,8 +5,7 @@
#ifndef CHROME_BROWSER_BROWSING_INSTANCE_H__
#define CHROME_BROWSER_BROWSING_INSTANCE_H__
-#include <hash_map>
-
+#include "base/hash_tables.h"
#include "chrome/browser/profile.h"
#include "googleurl/src/gurl.h"
@@ -95,10 +94,10 @@ class BrowsingInstance : public base::RefCounted<BrowsingInstance> {
// Map of site to SiteInstance, to ensure we only have one SiteInstance per
// site. The site string should be the possibly_invalid_spec() of a GURL
// obtained with SiteInstance::GetSiteForURL.
- typedef stdext::hash_map<std::string, SiteInstance*> SiteInstanceMap;
+ typedef base::hash_map<std::string, SiteInstance*> SiteInstanceMap;
// Map of Profile to SiteInstanceMap, for use in the process-per-site model.
- typedef stdext::hash_map<Profile*, SiteInstanceMap> ProfileSiteInstanceMap;
+ typedef base::hash_map<Profile*, SiteInstanceMap> ProfileSiteInstanceMap;
// Returns a pointer to the relevant SiteInstanceMap for this object. If the
// process-per-site model is in use, or if process-per-site-instance is in
@@ -127,4 +126,3 @@ class BrowsingInstance : public base::RefCounted<BrowsingInstance> {
};
#endif // CHROME_BROWSER_BROWSING_INSTANCE_H__
-