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

Unified Diff: content/browser/site_instance_impl.h

Issue 19021004: Prevent creating a swapped out RVH in the same SiteInstance as the current one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix decisions for hosted apps Created 7 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
Index: content/browser/site_instance_impl.h
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
index b195d09fa05c23b5a7f4fc4f26eacc21420dd38b..57291ea9d0d1530c9ad797d41998c62b2f141600 100644
--- a/content/browser/site_instance_impl.h
+++ b/content/browser/site_instance_impl.h
@@ -51,6 +51,10 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
static void set_render_process_host_factory(
const RenderProcessHostFactory* rph_factory);
+ // Get the effective URL for the given actual URL.
+ static GURL GetEffectiveURL(BrowserContext* browser_context,
+ const GURL& url);
+
protected:
friend class BrowsingInstance;
friend class SiteInstance;
@@ -64,10 +68,6 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
explicit SiteInstanceImpl(BrowsingInstance* browsing_instance);
private:
- // Get the effective URL for the given actual URL.
- static GURL GetEffectiveURL(BrowserContext* browser_context,
- const GURL& url);
-
// NotificationObserver implementation.
virtual void Observe(int type,
const NotificationSource& source,
« no previous file with comments | « content/browser/devtools/devtools_manager_unittest.cc ('k') | content/browser/web_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698