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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

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/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index cf31bbae19da055fce341f53860e2543c94c4db8..30ed19d09f023715f820fc71e13ec4cd8eee3b8d 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -244,10 +244,13 @@ class CONTENT_EXPORT RenderViewHostImpl
// If this RenderView is a guest, the embedder's process ID is also passed in
// so that the RenderView's process can establish a channel with its embedder
// if it's not already established.
+ // If |user_agent_override| is non-empty, it overrides the user agent that is
+ // normally used when a navigation requires it.
Charlie Reis 2012/06/01 00:36:08 Why is this being done at the level of RenderView
gone 2012/06/01 01:04:06 It was defined as a per-navigation setting after s
Charlie Reis 2012/06/01 18:04:09 Thanks, that helps a lot. Looks like you want the
gone 2012/06/14 00:46:39 Seems to work like this on Chrome for Android: whe
virtual bool CreateRenderView(const string16& frame_name,
int opener_route_id,
int32 max_page_id,
- int embedder_process_id);
+ int embedder_process_id,
+ const std::string& user_agent_override);
base::TerminationStatus render_view_termination_status() const {
return render_view_termination_status_;

Powered by Google App Engine
This is Rietveld 408576698