summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_url_request_context.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 22:28:54 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 22:28:54 +0000
commit6f681a41c70030593dc14640920d8447ef9389f2 (patch)
treeda9b0bb6552dc93ba1c1ab59a47588e5bb9196e9 /chrome/browser/net/chrome_url_request_context.h
parentb06878082f5dd7a9e289c0363e2aa9331a154fdb (diff)
downloadchromium_src-6f681a41c70030593dc14640920d8447ef9389f2.zip
chromium_src-6f681a41c70030593dc14640920d8447ef9389f2.tar.gz
chromium_src-6f681a41c70030593dc14640920d8447ef9389f2.tar.bz2
Add support for UA spoofing, and spoof Safari's UA string when loading URLs
from *.mail.live.com (to fix hotmail). BUG=4111 R=wtc Review URL: http://codereview.chromium.org/19025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/chrome_url_request_context.h')
-rw-r--r--chrome/browser/net/chrome_url_request_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 9ddbd47..915322e 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -44,6 +44,8 @@ class ChromeURLRequestContext : public URLRequestContext,
return user_script_dir_path_;
}
+ virtual const std::string& GetUserAgent(const GURL& url) const;
+
private:
// Private constructor, use the static factory methods instead. This is
// expected to be called on the UI thread.