diff options
author | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 20:34:09 +0000 |
---|---|---|
committer | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 20:34:09 +0000 |
commit | cbe7a169e2395eaec83c8dbfba16616de4e6700b (patch) | |
tree | a9d6d07f1de44e35ba7b34303d1da3fffffa8aea /chrome/installer/util/google_update_settings.h | |
parent | 6ba198fd7a578d370215fd5816962286070f9b3c (diff) | |
download | chromium_src-cbe7a169e2395eaec83c8dbfba16616de4e6700b.zip chromium_src-cbe7a169e2395eaec83c8dbfba16616de4e6700b.tar.gz chromium_src-cbe7a169e2395eaec83c8dbfba16616de4e6700b.tar.bz2 |
Refactor check for organic install into GoogleUpdateSettings, for use elsewhere.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2836041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/google_update_settings.h')
-rw-r--r-- | chrome/installer/util/google_update_settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/installer/util/google_update_settings.h b/chrome/installer/util/google_update_settings.h index dd7145e..522b96b 100644 --- a/chrome/installer/util/google_update_settings.h +++ b/chrome/installer/util/google_update_settings.h @@ -104,6 +104,9 @@ class GoogleUpdateSettings { int install_return_code, const std::wstring& value); + // True if a build is strictly organic, according to its brand code. + static bool IsOrganic(const std::wstring& brand); + private: DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); }; |