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

Unified Diff: webkit/tools/test_shell/test_shell_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: webkit/tools/test_shell/test_shell_request_context.h
===================================================================
--- webkit/tools/test_shell/test_shell_request_context.h (revision 8714)
+++ webkit/tools/test_shell/test_shell_request_context.h (working copy)
@@ -22,6 +22,8 @@
~TestShellRequestContext();
+ virtual const std::string& GetUserAgent(const GURL& url) const;
+
private:
void Init(const std::wstring& cache_path, net::HttpCache::Mode cache_mode,
bool no_proxy);

Powered by Google App Engine
This is Rietveld 408576698