summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support_glue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/support/webkit_support_glue.cc')
-rw-r--r--webkit/support/webkit_support_glue.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
index f7bcf50..02a2233 100644
--- a/webkit/support/webkit_support_glue.cc
+++ b/webkit/support/webkit_support_glue.cc
@@ -7,6 +7,7 @@
#include "base/base_paths.h"
#include "base/path_service.h"
#include "googleurl/src/gurl.h"
+#include "webkit/glue/user_agent.h"
#include "webkit/plugins/npapi/plugin_list.h"
// Functions needed by webkit_glue.
@@ -34,10 +35,6 @@ void GetPlugins(bool refresh,
}
}
-bool IsDefaultPluginEnabled() {
- return false;
-}
-
void AppendToLog(const char*, int, const char*) {
}
@@ -69,8 +66,9 @@ void ClearHostResolverCache() {
void ClearPredictorCache() {
}
-std::string GetProductVersion() {
- return std::string("DumpRenderTree/0.0.0.0");
+std::string BuildUserAgent(bool mimic_windows) {
+ return webkit_glue::BuildUserAgentHelper(mimic_windows,
+ "DumpRenderTree/0.0.0.0");
}
bool GetPluginFinderURL(std::string* plugin_finder_url) {