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

Unified Diff: content/common/view_messages.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: Cleand up userAgentOverride Created 8 years, 6 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 0cbe5fcf54e8aeb71974b408c2400ca119d061d7..ea804c728c2419828c7ca62a49db9f6e02b33df6 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -312,6 +312,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::RendererPreferences)
IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval)
IPC_STRUCT_TRAITS_MEMBER(enable_referrers)
IPC_STRUCT_TRAITS_MEMBER(default_zoom_level)
+ IPC_STRUCT_TRAITS_MEMBER(user_agent_override)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::SSLStatus)
@@ -451,6 +452,9 @@ IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params,
// Serialized history item state to store in the navigation entry.
IPC_STRUCT_MEMBER(std::string, content_state)
+
+ // User agent override used to navigate.
+ IPC_STRUCT_MEMBER(bool, is_overriding_user_agent)
IPC_STRUCT_END()
// This message is used for supporting popup menus on Mac OS X using native
@@ -651,6 +655,9 @@ IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
// guest RenderView. The embedder_channel_name and embedder_container_id
// together uniquely identify a browser plugin instance.
IPC_STRUCT_MEMBER(int, embedder_container_id)
+
+ // Whether or not the user agent override string should be used.
+ IPC_STRUCT_MEMBER(bool, is_overriding_user_agent)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewMsg_New_Params)

Powered by Google App Engine
This is Rietveld 408576698