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

Unified Diff: webkit/glue/user_agent.h

Issue 10854251: Allow the creation of partially spoofed user agents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moving namespaces Created 8 years, 4 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
« no previous file with comments | « content/public/common/content_client.cc ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/user_agent.h
diff --git a/webkit/glue/user_agent.h b/webkit/glue/user_agent.h
index 5d2594aae21b9df11d319b740e0ce912b66d4e02..c82571f203128915d19aaf53277086cf794cb3df 100644
--- a/webkit/glue/user_agent.h
+++ b/webkit/glue/user_agent.h
@@ -25,6 +25,11 @@ int GetWebKitMinorVersion();
// product name.
std::string BuildUserAgentFromProduct(const std::string& product);
+// Builds a full user agent string given a string describing the OS and a
+// product name.
+std::string BuildUserAgentFromOSAndProduct(const std::string& os_info,
+ const std::string& product);
+
} // namespace webkit_glue
#endif // WEBKIT_GLUE_USER_AGENT_H_
« no previous file with comments | « content/public/common/content_client.cc ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698