Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 934ad7a50463b22c8b8c717ebe9aae80efcf21e2..5ed632566d40128bce41c8568f97d9b018342258 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -153,6 +153,8 @@ class CONTENT_EXPORT WebContentsImpl |
virtual content::WebUI* CreateWebUI(const GURL& url) OVERRIDE; |
virtual content::WebUI* GetWebUI() const OVERRIDE; |
virtual content::WebUI* GetCommittedWebUI() const OVERRIDE; |
+ virtual void SetUserAgentOverride(const std::string& override) OVERRIDE; |
+ virtual const std::string& GetUserAgentOverride() const OVERRIDE; |
virtual const string16& GetTitle() const OVERRIDE; |
virtual int32 GetMaxPageID() OVERRIDE; |
virtual int32 GetMaxPageIDForSiteInstance( |
@@ -578,6 +580,10 @@ class CONTENT_EXPORT WebContentsImpl |
// is closed. |
WebContentsImpl* opener_; |
+ // User agent to use if a NavigationEntry requires that the default user agent |
+ // is overridden. |
+ std::string user_agent_override_; |
+ |
// Helper classes ------------------------------------------------------------ |
// Manages creation and swapping of render views. |