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

Unified Diff: content/shell/shell_content_client.cc

Issue 7922023: Remove webkit_glue::BuildUserAgent(), remove windows spoofing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to r102225 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
Index: content/shell/shell_content_client.cc
diff --git a/content/shell/shell_content_client.cc b/content/shell/shell_content_client.cc
index 644fd9809bedc134e48645f9fbace7da1ac7d4f3..5caaef00e86ab0f5f3363341a2abd5693028d8bb 100644
--- a/content/shell/shell_content_client.cc
+++ b/content/shell/shell_content_client.cc
@@ -30,8 +30,9 @@ bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
return false;
}
-std::string ShellContentClient::GetUserAgent(bool mimic_windows) const {
- return webkit_glue::BuildUserAgentHelper(mimic_windows, "Chrome/15.16.17.18");
+std::string ShellContentClient::GetUserAgent(bool* overriding) const {
+ *overriding = false;
+ return std::string("Chrome/15.16.17.18");
}
string16 ShellContentClient::GetLocalizedString(int message_id) const {

Powered by Google App Engine
This is Rietveld 408576698