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

Unified Diff: content/shell/shell_content_client.h

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/shell/shell_content_client.h
diff --git a/content/shell/shell_content_client.h b/content/shell/shell_content_client.h
index 35b2020e15725a7ce7f0f759865b9aeeccb507b2..9bc38806d281b68d3a3993df682ed2c666ea67af 100644
--- a/content/shell/shell_content_client.h
+++ b/content/shell/shell_content_client.h
@@ -21,7 +21,7 @@ class ShellContentClient : public ContentClient {
std::vector<PepperPluginInfo>* plugins) OVERRIDE;
virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE;
virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE;
- virtual std::string GetUserAgent(bool mimic_windows) const OVERRIDE;
+ virtual std::string GetUserAgent(bool *overriding) const OVERRIDE;
Evan Martin 2011/09/21 20:27:24 star on the left
Dirk Pranke 2011/09/21 21:02:35 Will fix.
virtual string16 GetLocalizedString(int message_id) const OVERRIDE;
virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698