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

Unified Diff: chrome/common/chrome_content_client.h

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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
Index: chrome/common/chrome_content_client.h
===================================================================
--- chrome/common/chrome_content_client.h (revision 255624)
+++ chrome/common/chrome_content_client.h (working copy)
@@ -12,6 +12,9 @@
#include "base/files/file_path.h"
#include "content/public/common/content_client.h"
+// Returns the user agent of Chrome.
+std::string GetUserAgent();
+
class ChromeContentClient : public content::ContentClient {
public:
static const char* const kPDFPluginName;

Powered by Google App Engine
This is Rietveld 408576698