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

Unified Diff: chrome/browser/ui/webui/web_ui_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
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | content/browser/browsing_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_unittest.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_unittest.cc (revision 118952)
+++ chrome/browser/ui/webui/web_ui_unittest.cc (working copy)
@@ -8,14 +8,15 @@
#include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/site_instance.h"
#include "content/browser/tab_contents/test_tab_contents.h"
#include "content/public/browser/navigation_controller.h"
+#include "content/public/browser/site_instance.h"
#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
using content::BrowserThread;
using content::NavigationController;
+using content::SiteInstance;
using content::WebContents;
class WebUITest : public TabContentsWrapperTestHarness {
@@ -170,7 +171,7 @@
// Setup. |tc| will be used to track when we try to focus the location bar.
TabContentsForFocusTest* tc = new TabContentsForFocusTest(
contents()->GetBrowserContext(),
- SiteInstance::CreateSiteInstance(contents()->GetBrowserContext()));
+ SiteInstance::Create(contents()->GetBrowserContext()));
tc->GetController().CopyStateFrom(controller());
SetContents(tc);
int page_id = 200;
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | content/browser/browsing_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698