Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: content/browser/browsing_instance.h

Issue 7346024: Get rid of the ProfileId. It was added for ceee. I reverted the original change, since it led to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/testing_profile.cc ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browsing_instance.h
===================================================================
--- content/browser/browsing_instance.h (revision 92309)
+++ content/browser/browsing_instance.h (working copy)
@@ -8,9 +8,9 @@
#include "base/hash_tables.h"
#include "base/memory/ref_counted.h"
-#include "chrome/browser/profiles/profile.h"
class GURL;
+class Profile;
class SiteInstance;
///////////////////////////////////////////////////////////////////////////////
@@ -93,13 +93,11 @@
private:
// 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 base::hash_map<std::string, SiteInstance*> SiteInstanceMap;
- // Map of Profile runtime Id to SiteInstanceMap, for use in the
+ // Map of Profile to SiteInstanceMap, for use in the process-per-site model.
// process-per-site model.
- typedef base::hash_map<ProfileId, 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
« no previous file with comments | « chrome/test/testing_profile.cc ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698