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_; |