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

Unified Diff: webkit/support/webkit_support_glue.cc

Issue 8002003: Revert "Remove webkit_glue::BuildUserAgent(), change the contract in webkit_glue" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « webkit/support/webkit_support.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support_glue.cc
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
index 705c80d39816a7e6bddc5af25b96667b1c3917d8..49be72a014b563c88aa4a50538bd3cd32ce824fc 100644
--- a/webkit/support/webkit_support_glue.cc
+++ b/webkit/support/webkit_support_glue.cc
@@ -48,6 +48,11 @@ bool IsProtocolSupportedForMedia(const GURL& url) {
return false;
}
+std::string BuildUserAgent(bool mimic_windows) {
+ return webkit_glue::BuildUserAgentHelper(mimic_windows,
+ "DumpRenderTree/0.0.0.0");
+}
+
bool GetPluginFinderURL(std::string* plugin_finder_url) {
return false;
}
« no previous file with comments | « webkit/support/webkit_support.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698