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 104b4e1ab8dbbf3c18206d4222a22dbe55572aac..011164f1362efd51d1a85362936fbef00181b54b 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -154,6 +154,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( |
@@ -549,6 +551,10 @@ class CONTENT_EXPORT WebContentsImpl |
// the observer list then. |
ObserverList<content::WebContentsObserver> observers_; |
+ // 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. |