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

Unified Diff: chromecast/shell/common/cast_content_client.cc

Issue 604933002: Chromecast: adds Chromecast build # to User-Agent string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chromecast/common/version.h.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/common/cast_content_client.cc
diff --git a/chromecast/shell/common/cast_content_client.cc b/chromecast/shell/common/cast_content_client.cc
index 65d50ec0791a5761a75c556317a377daef8789bd..3b7eea27e6ef5fc5482b6d9807cf1945dedde8c7 100644
--- a/chromecast/shell/common/cast_content_client.cc
+++ b/chromecast/shell/common/cast_content_client.cc
@@ -14,7 +14,8 @@ namespace shell {
std::string GetUserAgent() {
std::string product = "Chrome/" PRODUCT_VERSION;
- return content::BuildUserAgentFromProduct(product) + " CrKey";
+ return content::BuildUserAgentFromProduct(product) +
+ " CrKey" CAST_BUILD_REVISION;
}
CastContentClient::~CastContentClient() {
« no previous file with comments | « chromecast/common/version.h.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698