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

Issue 8933003: [Sync Promo UI] Changing sync promo to honor brand codes. (Closed)

Created:
9 years ago by Dan Beam
Modified:
9 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Sync Promo UI] Changing sync promo to honor brand codes. Also, this CL moves chrome/browser/ui/webui/sync_promo_* to chrome/browser/ui/webui/sync_promo/sync_promo_*. BUG=107223 R=stevet@chromium.org,rogerta@chromium.org,sail@chromium.org TEST=The sync promo responds to brand code and records results of the field trial correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114608

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 5

Patch Set 3 : some code review comments #

Total comments: 1

Patch Set 4 : removing unnecessary extern #

Patch Set 5 : renaming function and removing DCHECK() #

Patch Set 6 : also recording views from disabled startup group #

Patch Set 7 : moving files to chrome/browser/ui/webui/sync_promo/ #

Total comments: 1

Patch Set 8 : update logic for double no apps no promo #

Patch Set 9 : Episode V: The Debug Code Strikes Back! #

Patch Set 10 : mergin jhawkins' copy of EVERYTHING #

Patch Set 11 : removing supposedly needless .gypi deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -1301 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_handler.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -10 lines 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc View 1 2 3 4 5 6 7 8 9 6 chunks +15 lines, -11 lines 0 comments Download
A chrome/browser/ui/webui/sync_promo/sync_promo_trial.h View 1 2 3 4 5 6 7 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc View 1 2 3 4 5 6 7 8 1 chunk +172 lines, -0 lines 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_ui.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -2 lines 0 comments Download
D chrome/browser/ui/webui/sync_promo_handler.h View 1 2 3 4 5 6 1 chunk +0 lines, -97 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo_handler.cc View 1 2 3 4 5 6 1 chunk +0 lines, -288 lines 0 comments Download
D chrome/browser/ui/webui/sync_promo_handler2.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -97 lines 0 comments Download
D chrome/browser/ui/webui/sync_promo_handler2.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -288 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo_trial.h View 1 2 3 4 5 6 1 chunk +0 lines, -57 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo_trial.cc View 1 2 3 4 5 6 1 chunk +0 lines, -100 lines 0 comments Download
D chrome/browser/ui/webui/sync_promo_ui.h View 1 2 3 4 5 6 1 chunk +0 lines, -61 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo_ui.cc View 1 2 3 4 5 6 1 chunk +0 lines, -258 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler2.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dan Beam
Hey guys, take a look at my first stab at what we talked about this ...
9 years ago (2011-12-13 06:45:07 UTC) #1
SteveT
Hey Dan, Nice work! Looking pretty good... a couple comments for you (and Roger). Steve ...
9 years ago (2011-12-13 15:19:03 UTC) #2
Roger Tawa OOO till Jul 10th
Looks good. Since you have not changed any of the default apps code to enable/disable ...
9 years ago (2011-12-13 16:00:53 UTC) #3
sail
lgtm
9 years ago (2011-12-13 19:38:27 UTC) #4
Dan Beam
On 2011/12/13 16:00:53, Roger Tawa wrote: > Looks good. Since you have not changed any ...
9 years ago (2011-12-14 00:08:50 UTC) #5
Dan Beam
http://codereview.chromium.org/8933003/diff/1005/chrome/browser/ui/webui/sync_promo_trial.cc File chrome/browser/ui/webui/sync_promo_trial.cc (right): http://codereview.chromium.org/8933003/diff/1005/chrome/browser/ui/webui/sync_promo_trial.cc#newcode52 chrome/browser/ui/webui/sync_promo_trial.cc:52: LOG(ERROR) << "brand: " << brand; On 2011/12/13 15:19:03, ...
9 years ago (2011-12-14 00:16:54 UTC) #6
Dan Beam
http://codereview.chromium.org/8933003/diff/1006/chrome/browser/ui/webui/sync_promo_trial.cc File chrome/browser/ui/webui/sync_promo_trial.cc (right): http://codereview.chromium.org/8933003/diff/1006/chrome/browser/ui/webui/sync_promo_trial.cc#newcode64 chrome/browser/ui/webui/sync_promo_trial.cc:64: } By the way, the reason I'm not interlacing ...
9 years ago (2011-12-14 01:22:12 UTC) #7
SteveT
Cool. I do prefer this over hunting for RLZ values. LGTM
9 years ago (2011-12-14 01:24:26 UTC) #8
Dan Beam
Still seeking LG from rogerta. sail & stevet - modified the CL a tiny bit, ...
9 years ago (2011-12-14 04:01:53 UTC) #9
SteveT
Stamp.
9 years ago (2011-12-14 04:04:53 UTC) #10
Dan Beam
http://codereview.chromium.org/8933003/diff/7004/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc File chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc (right): http://codereview.chromium.org/8933003/diff/7004/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc#newcode149 chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc:149: return true; This will be: return false; on M16, ...
9 years ago (2011-12-14 05:14:25 UTC) #11
Roger Tawa OOO till Jul 10th
lgtm If your OK with checking both the brand and the master prefs, then all ...
9 years ago (2011-12-14 12:37:05 UTC) #12
Dan Beam
+jhawkins for review
9 years ago (2011-12-14 23:33:55 UTC) #13
James Hawkins
lgtm
9 years ago (2011-12-14 23:59:43 UTC) #14
James Hawkins
9 years ago (2011-12-15 01:11:26 UTC) #15
SLGTM

Powered by Google App Engine
This is Rietveld 408576698