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

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: patchset 15 which works 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.h
===================================================================
--- chrome/common/chrome_content_client.h (revision 255867)
+++ 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;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698