diff options
Diffstat (limited to 'content/browser/web_contents/web_contents_impl.h')
-rw-r--r-- | content/browser/web_contents/web_contents_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index 934ad7a5..5ed6325 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. |