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

Unified Diff: chrome/common/chrome_version_info.h

Issue 18055008: Expose "Chrome" as accessible product name. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Parse product name in b_a_win.cc instead Created 7 years, 6 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_version_info.h
diff --git a/chrome/common/chrome_version_info.h b/chrome/common/chrome_version_info.h
index 41cee4b0cebf2d1ab4ad85f1c880fa530975aea0..3ebe6fce5d011254ee902555afedbe08b51c46b4 100644
--- a/chrome/common/chrome_version_info.h
+++ b/chrome/common/chrome_version_info.h
@@ -36,6 +36,9 @@ class VersionInfo {
// check is_valid().
bool is_valid() const;
+ // E.g. "Chrome/a.b.c.d"
+ std::string ProductNameAndVersionForUserAgent() const;
+
// E.g. "Chromium" or "Google Chrome".
std::string Name() const;

Powered by Google App Engine
This is Rietveld 408576698