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

Issue 8726041: Add support for reactivating a chrome install that originally used an (Closed)

Created:
9 years ago by Roger Tawa OOO till Jul 10th
Modified:
9 years ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add support for reactivating a chrome install that originally used an organic brand code. Also added unit tests for reactivation since none existed. BUG=b/5683002 TEST=See unit tests. Pings should only be sent out for non-organic brand codes, and not for organic brand codes. Should test will all four combinations (main is either organic or not, and reactivation is either organic or not). This only works with google chrome builds. Chromium builds never send pings regardless of brand codes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112868

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add to unit tests, opened bug for background thread #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -39 lines) Patch
M chrome/browser/rlz/rlz.cc View 1 5 chunks +31 lines, -27 lines 2 comments Download
M chrome/browser/rlz/rlz_unittest.cc View 1 9 chunks +96 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Roger Tawa OOO till Jul 10th
9 years ago (2011-11-29 19:08:14 UTC) #1
Alexei Svitkine (slow)
LGTM http://codereview.chromium.org/8726041/diff/1/chrome/browser/rlz/rlz_unittest.cc File chrome/browser/rlz/rlz_unittest.cc (right): http://codereview.chromium.org/8726041/diff/1/chrome/browser/rlz/rlz_unittest.cc#newcode206 chrome/browser/rlz/rlz_unittest.cc:206: SetRegistryBrandValue(google_update::kRegRLZBrandField, brand); Can you add: std::string check_brand; google_util::GetBrand(&check_brand); ...
9 years ago (2011-12-02 20:40:17 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks Alexei. Addressed all comments, created bug to track background thread linked to the code. ...
9 years ago (2011-12-02 20:53:56 UTC) #3
Glenn Wilson
LGTM http://codereview.chromium.org/8726041/diff/5001/chrome/browser/rlz/rlz.cc File chrome/browser/rlz/rlz.cc (right): http://codereview.chromium.org/8726041/diff/5001/chrome/browser/rlz/rlz.cc#newcode44 chrome/browser/rlz/rlz.cc:44: return brand.empty() || google_util::IsOrganic(brand); It's been a while, ...
9 years ago (2011-12-02 21:35:02 UTC) #4
Roger Tawa OOO till Jul 10th
Thanks Glenn. See comment below. http://codereview.chromium.org/8726041/diff/5001/chrome/browser/rlz/rlz.cc File chrome/browser/rlz/rlz.cc (right): http://codereview.chromium.org/8726041/diff/5001/chrome/browser/rlz/rlz.cc#newcode44 chrome/browser/rlz/rlz.cc:44: return brand.empty() || google_util::IsOrganic(brand); ...
9 years ago (2011-12-02 22:00:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/8726041/5001
9 years ago (2011-12-03 01:11:20 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-03 04:23:03 UTC) #7
Change committed as 112868

Powered by Google App Engine
This is Rietveld 408576698