summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_content_client.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-09 16:27:37 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-09 16:27:37 +0000
commit75893caa21ae519dc24501cf99cd2575b4620e33 (patch)
treeb74cf6eadaea58b7d7184919c957de1cd3c0a11d /chrome/common/chrome_content_client.h
parentc3174f5434e2e46813c2f3692ffd19a77815e926 (diff)
downloadchromium_src-75893caa21ae519dc24501cf99cd2575b4620e33.zip
chromium_src-75893caa21ae519dc24501cf99cd2575b4620e33.tar.gz
chromium_src-75893caa21ae519dc24501cf99cd2575b4620e33.tar.bz2
Move --user-agent overriding logic from chrome into content.
BUG=117259 TEST=start chrome and content_shell with and without --user-agent and visit a site like www.whatsmyuseragent.com to verify the expected user agent Review URL: https://chromiumcodereview.appspot.com/9623027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.h')
-rw-r--r--chrome/common/chrome_content_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index 31819b9..1d840d4 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -25,7 +25,7 @@ class ChromeContentClient : public content::ContentClient {
webkit::npapi::PluginList* plugin_list) OVERRIDE;
virtual bool HasWebUIScheme(const GURL& url) const OVERRIDE;
virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE;
- virtual std::string GetUserAgent(bool* overriding) const OVERRIDE;
+ virtual std::string GetUserAgent() const OVERRIDE;
virtual string16 GetLocalizedString(int message_id) const OVERRIDE;
virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE;