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

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: replace SetContentClient() with Initialize() 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
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..a1cf966a2e2555f8902a9c4a4b1d7cd857e13d19 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -44,11 +44,6 @@ bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
return false;
}
-std::string TestContentClient::GetUserAgent(bool* overriding) const {
- *overriding = false;
- return std::string("TestContentClient");
-}
-
string16 TestContentClient::GetLocalizedString(int message_id) const {
return string16();
}
« content/browser/site_instance_impl_unittest.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