diff options
Diffstat (limited to 'content/browser/web_contents/web_contents_impl.cc')
-rw-r--r-- | content/browser/web_contents/web_contents_impl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc index 2aba4bc..558fa45 100644 --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc @@ -707,6 +707,14 @@ content::WebUI* WebContentsImpl::GetCommittedWebUI() const { return render_manager_.web_ui(); } +void WebContentsImpl::SetUserAgentOverride(const std::string& override) { + user_agent_override_ = override; +} + +const std::string& WebContentsImpl::GetUserAgentOverride() const { + return user_agent_override_; +} + const string16& WebContentsImpl::GetTitle() const { // Transient entries take precedence. They are used for interstitial pages // that are shown on top of existing pages. |