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

Unified Diff: content/shell/shell_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/shell/shell_content_client.h ('k') | content/test/test_content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_client.cc
diff --git a/content/shell/shell_content_client.cc b/content/shell/shell_content_client.cc
index 1e6b5ddc8aea6ad01a78df274fd3217b075e0615..61004fecbccb1bf99aaf782552d9914ce6a98333 100644
--- a/content/shell/shell_content_client.cc
+++ b/content/shell/shell_content_client.cc
@@ -36,8 +36,7 @@ bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
return false;
}
-std::string ShellContentClient::GetUserAgent(bool* overriding) const {
- *overriding = false;
+std::string ShellContentClient::GetUserAgent() const {
// The "19" is so that sites that sniff for version think that this is
// something reasonably current; the "77.34.5" is a hint that this isn't a
// standard Chrome.
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/test/test_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698