diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 20:48:29 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 20:48:29 +0000 |
commit | f5db58da8a081fe91b25d7a373987c97d397f378 (patch) | |
tree | 52a8f3bea7d1ffecbc45d652e6caea2fc8dac4b3 /chrome/browser/browser_about_handler.cc | |
parent | 05992b2a814db10d48e4deaeb9fea873e37bd329 (diff) | |
download | chromium_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/browser/browser_about_handler.cc')
-rw-r--r-- | chrome/browser/browser_about_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index f338dfa..4b8ac12 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -263,7 +263,7 @@ std::string BrowserAboutHandler::AboutVersion() { l10n_util::GetString(IDS_ABOUT_VERSION_UNOFFICIAL)); } localized_strings.SetString(L"useragent", - UTF8ToWide(webkit_glue::GetDefaultUserAgent())); + UTF8ToWide(webkit_glue::GetUserAgent())); static const StringPiece version_html( ResourceBundle::GetSharedInstance().GetRawDataResource( |