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

Unified Diff: content/browser/site_instance_unittest.cc

Issue 9221017: Hide BrowsingInstance from all but SiteInstance, as intended by design. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 11 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 | « content/browser/site_instance.cc ('k') | content/browser/tab_contents/render_view_host_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_instance_unittest.cc
diff --git a/content/browser/site_instance_unittest.cc b/content/browser/site_instance_unittest.cc
index ebb532c353b5a3c024638685ced586484e1668a8..f436471162a6857fbfed408a70587a43632b4442 100644
--- a/content/browser/site_instance_unittest.cc
+++ b/content/browser/site_instance_unittest.cc
@@ -133,6 +133,14 @@ class TestBrowsingInstance : public BrowsingInstance {
use_process_per_site_ = use_process_per_site;
}
+ // Make a few methods public for tests.
+ using BrowsingInstance::ShouldUseProcessPerSite;
+ using BrowsingInstance::browser_context;
+ using BrowsingInstance::HasSiteInstance;
+ using BrowsingInstance::GetSiteInstanceForURL;
+ using BrowsingInstance::RegisterSiteInstance;
+ using BrowsingInstance::UnregisterSiteInstance;
+
private:
virtual ~TestBrowsingInstance() {
(*delete_counter_)++;
« no previous file with comments | « content/browser/site_instance.cc ('k') | content/browser/tab_contents/render_view_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698