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

Unified Diff: webkit/glue/webkit_glue.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/glue/webkit_glue.h
===================================================================
--- webkit/glue/webkit_glue.h (revision 8714)
+++ webkit/glue/webkit_glue.h (working copy)
@@ -107,7 +107,7 @@
// Returns the user agent, which is usually the default user agent but may be
// overriden by a call to SetUserAgent() (which should be done at startup).
wtc 2009/01/27 19:19:24 Nit: the comment should be updated to mention the
-const std::string& GetUserAgent();
+const std::string& GetUserAgent(const GURL& url);
// Creates serialized state for the specified URL. This is a variant of
// HistoryItemToString (in glue_serialize) that is used during session restore

Powered by Google App Engine
This is Rietveld 408576698