diff options
Diffstat (limited to 'content/renderer/renderer_glue.cc')
-rw-r--r-- | content/renderer/renderer_glue.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/renderer/renderer_glue.cc b/content/renderer/renderer_glue.cc index beb5a1b..91a1078 100644 --- a/content/renderer/renderer_glue.cc +++ b/content/renderer/renderer_glue.cc @@ -17,6 +17,7 @@ #include "base/shared_memory.h" #include "base/string_util.h" #include "content/common/clipboard_messages.h" +#include "content/common/content_client.h" #include "content/common/content_switches.h" #include "content/common/socket_stream_dispatcher.h" #include "content/common/url_constants.h" @@ -291,4 +292,8 @@ string16 GetLocalizedString(int message_id) { return l10n_util::GetStringUTF16(message_id); } +std::string BuildUserAgent(bool mimic_windows) { + return content::GetContentClient()->GetUserAgent(mimic_windows); +} + } // namespace webkit_glue |