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

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: fix indent Created 8 years, 9 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
« content/app/content_main_runner.cc ('K') | « 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 fb572ce8b66d7fb81f3fb23429035c5b4f9de52b..ec1fb300a52438105f8b7d1cd5931b520e0bda30 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -40,8 +40,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");
}
« content/app/content_main_runner.cc ('K') | « content/test/test_content_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698