summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 01:29:45 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 01:29:45 +0000
commite62675dbc587d7914f070af34416a20311374f55 (patch)
tree0ac7e7a61b4c89bb6d80c050abc4c7eccb27eea5 /chrome/browser/rlz
parent5cbe1e21980f42927d7d1c11cc860131be266e7e (diff)
downloadchromium_src-e62675dbc587d7914f070af34416a20311374f55.zip
chromium_src-e62675dbc587d7914f070af34416a20311374f55.tar.gz
chromium_src-e62675dbc587d7914f070af34416a20311374f55.tar.bz2
More brands for rlz
BUG=33606 TEST=none Review URL: http://codereview.chromium.org/548210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz')
-rw-r--r--chrome/browser/rlz/rlz.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index 7141b66..64c56e5 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -292,10 +292,12 @@ class DelayedInitTask : public Task {
}
static bool is_strict_organic(const std::wstring& brand) {
- const wchar_t* kBrands[] = { L"CHOA", L"CHOB", L"CHOC", L"CHOT", L"CHOU",
- L"CHOR", L"CHOQ", L"CHOP", L"CHON", L"CHOO",
- L"CHPD", L"CHPE", L"CHPF", L"CHPG", L"GGLS",
- L"GGLA" };
+ static const wchar_t* kBrands[] = {
+ L"CHFO", L"CHFT", L"CHMA", L"CHMB", L"CHME", L"CHMF", L"CHMG", L"CHMH",
+ L"CHMI", L"CHMQ", L"CHMV", L"CHNB", L"CHNC", L"CHNG", L"CHNH", L"CHNI",
+ L"CHOA", L"CHOB", L"CHOC", L"CHON", L"CHOO", L"CHOP", L"CHOQ", L"CHOR",
+ L"CHOS", L"CHOT", L"CHOU", L"CHOX", L"CHOY", L"CHOZ", L"CHPD", L"CHPE",
+ L"CHPF", L"CHPG", L"EUBB", L"EUBC", L"GGLA", L"GGLS" };
const wchar_t** end = &kBrands[arraysize(kBrands)];
const wchar_t** found = std::find(&kBrands[0], end, brand);
if (found != end)