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

Unified Diff: chrome/browser/chromeos/login/html_page_screen.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/chromeos/login/html_page_screen.cc
===================================================================
--- chrome/browser/chromeos/login/html_page_screen.cc (revision 118952)
+++ chrome/browser/chromeos/login/html_page_screen.cc (working copy)
@@ -12,10 +12,11 @@
#include "chrome/browser/chromeos/login/screen_observer.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/browser/site_instance.h"
+#include "content/public/browser/site_instance.h"
#include "googleurl/src/gurl.h"
#include "ui/views/events/event.h"
+using content::SiteInstance;
using content::WebContents;
namespace chromeos {
@@ -50,8 +51,7 @@
StartTimeoutTimer();
GURL url(url_);
Profile* profile = ProfileManager::GetDefaultProfile();
- view()->InitDOM(profile,
- SiteInstance::CreateSiteInstanceForURL(profile, url));
+ view()->InitDOM(profile, SiteInstance::CreateForURL(profile, url));
view()->SetWebContentsDelegate(this);
view()->LoadURL(url);
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chromeos/login/registration_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698