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

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: fix GetUserAgent() to return whether the user agent is overriding, clean up 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..4578b9152c4035c1156f9339f1620ac5c38ee15c 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