diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-29 14:22:29 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-29 14:22:29 +0000 |
commit | 8db52414c08292dbf5a9f570ab533abfecdf091e (patch) | |
tree | 340cf30ec3d6e90520ccefd13cd068a55ef1b59f /chrome/common/chrome_version_info.h | |
parent | ad6777701edf582f7709048a8ff82965fb872815 (diff) | |
download | chromium_src-8db52414c08292dbf5a9f570ab533abfecdf091e.zip chromium_src-8db52414c08292dbf5a9f570ab533abfecdf091e.tar.gz chromium_src-8db52414c08292dbf5a9f570ab533abfecdf091e.tar.bz2 |
Expose "Chrome" as accessible product name.
Moves source of the various components of the user agent
product name and version to ChromeVersionInfo, and
exposes them in ChromeContentClient.
BUG=255053
Review URL: https://chromiumcodereview.appspot.com/18055008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_version_info.h')
-rw-r--r-- | chrome/common/chrome_version_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_version_info.h b/chrome/common/chrome_version_info.h index 41cee4b..3ebe6fc 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; |