Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 19025: Add support for UA spoofing, and spoof Safari's UA string when loading URLs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/chrome_url_request_context.h
===================================================================
--- chrome/browser/net/chrome_url_request_context.h (revision 8714)
+++ chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -44,6 +44,8 @@
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.

Powered by Google App Engine
This is Rietveld 408576698