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

Unified Diff: chrome/browser/browsing_instance.h

Issue 255087: Adding a unique runtime Id to Profile objects, that can be used as the key... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/browser/browsing_instance.h
===================================================================
--- chrome/browser/browsing_instance.h (revision 28102)
+++ chrome/browser/browsing_instance.h (working copy)
@@ -8,9 +8,9 @@
#include "base/hash_tables.h"
#include "base/logging.h"
#include "base/ref_counted.h"
+#include "chrome/browser/profile.h"
class GURL;
-class Profile;
class SiteInstance;
///////////////////////////////////////////////////////////////////////////////
@@ -100,8 +100,9 @@
// obtained with SiteInstance::GetSiteForURL.
typedef base::hash_map<std::string, SiteInstance*> SiteInstanceMap;
- // Map of Profile to SiteInstanceMap, for use in the process-per-site model.
- typedef base::hash_map<Profile*, SiteInstanceMap> ProfileSiteInstanceMap;
+ // Map of Profile runtime Id to SiteInstanceMap, for use in the
+ // process-per-site model.
+ typedef base::hash_map<ProfileId, 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/browser/automation/automation_resource_message_filter.cc ('k') | chrome/browser/browsing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698