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

Unified Diff: chrome/browser/extensions/extension_process_manager_unittest.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/browser/extensions/extension_process_manager_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_process_manager_unittest.cc (revision 118703)
+++ chrome/browser/extensions/extension_process_manager_unittest.cc (working copy)
@@ -5,7 +5,8 @@
#include "chrome/browser/extensions/extension_process_manager.h"
#include "chrome/browser/extensions/extension_error_reporter.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/site_instance.h"
+#include "content/public/browser/render_process_host.h"
+#include "content/public/browser/site_instance.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
@@ -45,17 +46,17 @@
GURL ext1_url2("chrome-extension://ext1_id/monkey/monkey.html");
GURL ext2_url1("chrome-extension://ext2_id/index.html");
- scoped_refptr<SiteInstance> site11 =
+ scoped_refptr<content::SiteInstance> site11 =
manager1->GetSiteInstanceForURL(ext1_url1);
- scoped_refptr<SiteInstance> site12 =
+ scoped_refptr<content::SiteInstance> site12 =
manager1->GetSiteInstanceForURL(ext1_url2);
EXPECT_EQ(site11, site12);
- scoped_refptr<SiteInstance> site21 =
+ scoped_refptr<content::SiteInstance> site21 =
manager1->GetSiteInstanceForURL(ext2_url1);
EXPECT_NE(site11, site21);
- scoped_refptr<SiteInstance> other_profile_site =
+ scoped_refptr<content::SiteInstance> other_profile_site =
manager2->GetSiteInstanceForURL(ext1_url1);
EXPECT_NE(site11, other_profile_site);
}

Powered by Google App Engine
This is Rietveld 408576698