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

Unified Diff: content/test/test_content_client.cc

Issue 9623027: Move --user-agent overriding logic from chrome into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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
« no previous file with comments | « content/test/test_content_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index 455f2e95de84387e16b9668d68e3fabebb5c8d4c..c62e662650bdcad6ebadd0714dc67855b71cb3a4 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -44,8 +44,7 @@ bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
return false;
}
-std::string TestContentClient::GetUserAgent(bool* overriding) const {
- *overriding = false;
+std::string TestContentClient::GetUserAgent() const {
return std::string("TestContentClient");
}
« no previous file with comments | « content/test/test_content_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698