summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 20:48:29 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 20:48:29 +0000
commitf5db58da8a081fe91b25d7a373987c97d397f378 (patch)
tree52a8f3bea7d1ffecbc45d652e6caea2fc8dac4b3 /chrome/common/chrome_switches.cc
parent05992b2a814db10d48e4deaeb9fea873e37bd329 (diff)
downloadchromium_src-f5db58da8a081fe91b25d7a373987c97d397f378.zip
chromium_src-f5db58da8a081fe91b25d7a373987c97d397f378.tar.gz
chromium_src-f5db58da8a081fe91b25d7a373987c97d397f378.tar.bz2
Add a command-line switch to change the user agent.BUG=757345
Review URL: http://codereview.chromium.org/4059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 7dec663..742eee1 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -128,6 +128,9 @@ const wchar_t kDomAutomationController[] = L"dom-automation";
// Tells the plugin process the path of the plugin to load
const wchar_t kPluginPath[] = L"plugin-path";
+// A string used to override the default user agent with a custom one.
+const wchar_t kUserAgent[] = L"user-agent";
+
// Specifies the flags passed to JS engine
const wchar_t kJavaScriptFlags[] = L"js-flags";