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

Unified Diff: content/browser/web_contents/interstitial_page_impl.cc

Issue 10450002: Transfer user agent override info between browser and renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Diff shows what we do downstream Created 8 years, 7 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/web_contents/interstitial_page_impl.cc
diff --git a/content/browser/web_contents/interstitial_page_impl.cc b/content/browser/web_contents/interstitial_page_impl.cc
index c5432ee3aeb9baa56bf687e422697154d830ff38..21e9a65641b55533d08cfc6392c329e5bc1121b5 100644
--- a/content/browser/web_contents/interstitial_page_impl.cc
+++ b/content/browser/web_contents/interstitial_page_impl.cc
@@ -503,7 +503,8 @@ WebContentsView* InterstitialPageImpl::CreateWebContentsView() {
render_view_host_->CreateRenderView(string16(),
MSG_ROUTING_NONE,
max_page_id,
- -1);
+ -1,
+ web_contents()->GetUserAgentOverride());
Charlie Reis 2012/06/01 00:36:08 Is it meaningful for an interstitial page's user a
gone 2012/06/01 01:04:06 It not exactly setting the interstitial's user age
Charlie Reis 2012/06/01 18:04:09 Ah. An interstitial's RenderView will never be us
gone 2012/06/14 00:46:39 Will pass in an empty string.
view->SetSize(web_contents_view->GetContainerSize());
// Don't show the interstitial until we have navigated to it.
view->Hide();

Powered by Google App Engine
This is Rietveld 408576698