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

Issue 7741045: Delay the metrics policy migration call to make sure ownership has been taken. (Closed)

Created:
9 years, 4 months ago by pastarmovj
Modified:
9 years, 3 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org
Visibility:
Public.

Description

Delay the metrics policy migration call to make sure ownership has been taken. This solved the issue that the UI does not reflect the OOBE screen setting on new machines. There will be now a window of 30secs where this value will still be wrong but this is still better than not migrating correctly at all. BUG=chromium-os:19427 TEST=Check the metrics reporting on the EULA screen and see if the settings UI is checked too. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99169

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed migration code. #

Total comments: 4

Patch Set 3 : Fixed comments. #

Total comments: 14

Patch Set 4 : Uses the modified ownership checker now. #

Patch Set 5 : Removed obsolete comment. #

Total comments: 10

Patch Set 6 : Addressed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -39 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ownership_status_checker.h View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/ownership_status_checker.cc View 1 2 3 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/signed_settings.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/user_cros_settings_provider.cc View 1 2 3 4 5 6 chunks +70 lines, -24 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pastarmovj
Please take a look at this fix for the issue with migrating the metrics reporting ...
9 years, 4 months ago (2011-08-26 16:36:13 UTC) #1
Mattias Nissler (ping if slow)
I must say I don't really like this fix. Why can't we just act on ...
9 years, 3 months ago (2011-08-29 10:55:26 UTC) #2
rkc
If this is going in as a short term hack, please create a crosbug to ...
9 years, 3 months ago (2011-08-29 16:38:57 UTC) #3
pastarmovj
Completely overhauled the fix to actually react to the proper notification and extended it to ...
9 years, 3 months ago (2011-08-31 10:22:14 UTC) #4
rkc
Except the nits, looks good. I'm concerned about the parameter passing to the StartStorePropertyOp task ...
9 years, 3 months ago (2011-08-31 11:18:11 UTC) #5
pastarmovj
Addressed Rahul's comments. http://codereview.chromium.org/7741045/diff/5001/chrome/browser/chromeos/user_cros_settings_provider.cc File chrome/browser/chromeos/user_cros_settings_provider.cc (right): http://codereview.chromium.org/7741045/diff/5001/chrome/browser/chromeos/user_cros_settings_provider.cc#newcode65 chrome/browser/chromeos/user_cros_settings_provider.cc:65: // SignedSettingsTempStorage if there is no ...
9 years, 3 months ago (2011-08-31 11:50:58 UTC) #6
rkc
LGTM mnissler should give it a look over before commit though. On 2011/08/31 11:50:58, pastarmovj ...
9 years, 3 months ago (2011-08-31 11:55:50 UTC) #7
Mattias Nissler (ping if slow)
http://codereview.chromium.org/7741045/diff/6002/chrome/browser/chromeos/user_cros_settings_provider.cc File chrome/browser/chromeos/user_cros_settings_provider.cc (right): http://codereview.chromium.org/7741045/diff/6002/chrome/browser/chromeos/user_cros_settings_provider.cc#newcode63 chrome/browser/chromeos/user_cros_settings_provider.cc:63: // store. It does one of three things - ...
9 years, 3 months ago (2011-08-31 12:47:23 UTC) #8
pastarmovj
Addressed the new round of comments. http://codereview.chromium.org/7741045/diff/6002/chrome/browser/chromeos/user_cros_settings_provider.cc File chrome/browser/chromeos/user_cros_settings_provider.cc (right): http://codereview.chromium.org/7741045/diff/6002/chrome/browser/chromeos/user_cros_settings_provider.cc#newcode63 chrome/browser/chromeos/user_cros_settings_provider.cc:63: // store. It ...
9 years, 3 months ago (2011-08-31 14:29:36 UTC) #9
Mattias Nissler (ping if slow)
LGTM if you fix my nits and pending trybots. http://codereview.chromium.org/7741045/diff/8007/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/7741045/diff/8007/chrome/browser/chromeos/login/existing_user_controller.cc#newcode253 chrome/browser/chromeos/login/existing_user_controller.cc:253: ...
9 years, 3 months ago (2011-08-31 15:08:33 UTC) #10
pastarmovj
Addressed the nits and ran trybots. Will commit tomorrow if no objections or try bot ...
9 years, 3 months ago (2011-08-31 15:26:36 UTC) #11
commit-bot: I haz the power
9 years, 3 months ago (2011-09-01 12:05:27 UTC) #12
Change committed as 99169

Powered by Google App Engine
This is Rietveld 408576698