summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz
diff options
context:
space:
mode:
authorgwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 19:04:24 +0000
committergwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 19:04:24 +0000
commit89ab3c40e77a9c5eb7cd0027c2c0c39a02a1335e (patch)
treec98e20d3a2c561662f87fb48ff6649d7c63886c0 /chrome/browser/rlz
parent4ca25be2a7e418cfbd92140da177c1991bf30a50 (diff)
downloadchromium_src-89ab3c40e77a9c5eb7cd0027c2c0c39a02a1335e.zip
chromium_src-89ab3c40e77a9c5eb7cd0027c2c0c39a02a1335e.tar.gz
chromium_src-89ab3c40e77a9c5eb7cd0027c2c0c39a02a1335e.tar.bz2
Changes RLZ organic wildcards to include GGR*
BUG=37411 R=cpu TEST=RLZ should not occur with GGR* brand codes Review URL: http://codereview.chromium.org/669074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz')
-rw-r--r--chrome/browser/rlz/rlz.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index 20436a7..1518fd4 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -303,7 +303,8 @@ class DelayedInitTask : public Task {
const wchar_t** found = std::find(&kBrands[0], end, brand);
if (found != end)
return true;
- if (StartsWith(brand, L"EUB", true) || StartsWith(brand, L"EUC", true))
+ if (StartsWith(brand, L"EUB", true) || StartsWith(brand, L"EUC", true) ||
+ StartsWith(brand, L"GGR", true))
return true;
return false;
}