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

Issue 10539153: Do not show the EULA if it has already been accepted by the user in another user data dir. (Closed)

Created:
8 years, 6 months ago by grt (UTC plus 2)
Modified:
8 years, 6 months ago
Reviewers:
ananta, robertshield
CC:
chromium-reviews, Glenn Wilson, somast
Visibility:
Public.

Description

Do not show the EULA if it has already been accepted by the user in another user data dir. BUG=131033 TEST=install system-level chrome with require_eula in master prefs and eulaaccepted=0 in the ClientState key. nuke all user data dirs (including the metro one). now launch desktop chrome and accept the eula. make chrome the default browser and launch into metro. notice that it works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142576

Patch Set 1 #

Total comments: 5

Patch Set 2 : removed spurious space #

Patch Set 3 : removed require_eula #

Patch Set 4 : new approach #

Total comments: 2

Patch Set 5 : DIR_ALT_USER_DATA is windows only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -5 lines) Patch
M chrome/browser/first_run/first_run_win.cc View 1 2 3 2 chunks +20 lines, -3 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths_internal.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths_unittest.cc View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths_win.cc View 1 2 3 1 chunk +16 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10539153/diff/1/chrome/browser/first_run/first_run_win.cc File chrome/browser/first_run/first_run_win.cc (right): https://chromiumcodereview.appspot.com/10539153/diff/1/chrome/browser/first_run/first_run_win.cc#newcode219 chrome/browser/first_run/first_run_win.cc:219: if (install_prefs->GetBool(installer::master_preferences::kRequireEula, i'm tempted to get rid of this ...
8 years, 6 months ago (2012-06-14 02:09:52 UTC) #1
robertshield
https://chromiumcodereview.appspot.com/10539153/diff/1/chrome/browser/first_run/first_run_win.cc File chrome/browser/first_run/first_run_win.cc (right): https://chromiumcodereview.appspot.com/10539153/diff/1/chrome/browser/first_run/first_run_win.cc#newcode183 chrome/browser/first_run/first_run_win.cc:183: BrowserDistribution* dist = BrowserDistribution::GetDistribution(); nit: double spaces https://chromiumcodereview.appspot.com/10539153/diff/1/chrome/browser/first_run/first_run_win.cc#newcode219 chrome/browser/first_run/first_run_win.cc:219: ...
8 years, 6 months ago (2012-06-14 02:50:06 UTC) #2
grt (UTC plus 2)
Thanks, PTAL. Glenn and Somas: this change will make Chrome's first-run flow trigger the EULA ...
8 years, 6 months ago (2012-06-14 03:39:00 UTC) #3
robertshield
lgtm
8 years, 6 months ago (2012-06-14 04:47:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10539153/4002
8 years, 6 months ago (2012-06-14 16:37:36 UTC) #5
commit-bot: I haz the power
Try job failure for 10539153-4002 (retry) on mac_rel for step "runhooks". It's a second try, ...
8 years, 6 months ago (2012-06-14 17:21:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10539153/4002
8 years, 6 months ago (2012-06-14 17:46:40 UTC) #7
commit-bot: I haz the power
Try job failure for 10539153-4002 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-14 19:03:49 UTC) #8
grt (UTC plus 2)
as it turns out, the previous approach was no good since only the first user ...
8 years, 6 months ago (2012-06-15 21:07:27 UTC) #9
grt (UTC plus 2)
Ananta: do you have time to review this?
8 years, 6 months ago (2012-06-16 01:03:04 UTC) #10
ananta
LGTM http://codereview.chromium.org/10539153/diff/16001/chrome/common/chrome_paths.h File chrome/common/chrome_paths.h (right): http://codereview.chromium.org/10539153/diff/16001/chrome/common/chrome_paths.h#newcode22 chrome/common/chrome_paths.h:22: DIR_ALT_USER_DATA, // Directory of the desktop or metro ...
8 years, 6 months ago (2012-06-16 01:14:46 UTC) #11
grt (UTC plus 2)
http://codereview.chromium.org/10539153/diff/16001/chrome/common/chrome_paths.h File chrome/common/chrome_paths.h (right): http://codereview.chromium.org/10539153/diff/16001/chrome/common/chrome_paths.h#newcode22 chrome/common/chrome_paths.h:22: DIR_ALT_USER_DATA, // Directory of the desktop or metro user ...
8 years, 6 months ago (2012-06-16 02:06:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10539153/20002
8 years, 6 months ago (2012-06-16 02:32:41 UTC) #13
commit-bot: I haz the power
8 years, 6 months ago (2012-06-16 03:45:25 UTC) #14
Change committed as 142576

Powered by Google App Engine
This is Rietveld 408576698