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

Unified Diff: content/test/test_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/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index 511253205c78d0e310465ef7fc2038ddf2c49c59..736be6c75bd9b1baaa64e7687a3dd30090ae462f 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -31,8 +31,9 @@ bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
return true;
}
-std::string TestContentClient::GetUserAgent(bool mimic_windows) const {
- return std::string();
+std::string TestContentClient::GetUserAgent(bool* overriding) const {
+ *overriding = false;
+ return std::string("TestContentClient");
}
string16 TestContentClient::GetLocalizedString(int message_id) const {

Powered by Google App Engine
This is Rietveld 408576698