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

Issue 10917120: Activate the VariationsService for ChromeOS and ensure that it does not ping the server until the E… (Closed)

Created:
8 years, 3 months ago by SteveT
Modified:
8 years, 2 months ago
CC:
chromium-reviews, MAD, nkostylev+watch_chromium.org, kkania, robertshield, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, jar (doing other things), jwd
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Activate the VariationsService for ChromeOS and ensure that it does not ping the server until the EULA is accepted. We accomplish this by adding an OnEulaAccepted method to the WizardControllerObserver and have the VariationsService be notified on that method when the EULA is accepted. BUG=146865 TEST=Start CrOS on a new machine and ensure that, with a network connection, no requests are made to the variations server before the EULA is accepted. As soon as the EULA is accepted, ensure that a request is made. Also ensure that a request is made each time at startup after the first time the EULA is accepted. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158648

Patch Set 1 : init #

Total comments: 5

Patch Set 2 : nikita nits #

Total comments: 16

Patch Set 3 : asvit nits #

Patch Set 4 : missed asvit nit #

Total comments: 1

Patch Set 5 : Refactored to use ResourceRequestAllowedNotifier #

Total comments: 2

Patch Set 6 : removed automation provider changes #

Patch Set 7 : RRAN now hides all notion of criteria #

Patch Set 8 : unit tests refactored #

Total comments: 68

Patch Set 9 : asvit nit 2 #

Total comments: 10

Patch Set 10 : notification situation solution #

Total comments: 39

Patch Set 11 : Comments addressed. #

Total comments: 30

Patch Set 12 : Test fixups from asvit #

Total comments: 28

Patch Set 13 : Addressed latest asvit comments #

Patch Set 14 : rebase #

Patch Set 15 : nonchromeos fixes #

Total comments: 23

Patch Set 16 : more asvit nits #

Patch Set 17 : Flip EULA and added test. #

Total comments: 10

Patch Set 18 : Additiona fixes #

Total comments: 2

Patch Set 19 : one more asvit nit #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+719 lines, -168 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -0 lines 2 comments Download
A chrome/browser/metrics/variations/resource_request_allowed_notifier.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +117 lines, -0 lines 2 comments Download
A chrome/browser/metrics/variations/resource_request_allowed_notifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +131 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations/resource_request_allowed_notifier_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations/resource_request_allowed_notifier_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +244 lines, -0 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +24 lines, -17 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +39 lines, -41 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +40 lines, -105 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (0 generated)
SteveT
Nikita - mind taking an initial look at this? I'll add the other OWNERS approvers ...
8 years, 3 months ago (2012-09-06 19:52:20 UTC) #1
SteveT
24 hr friendly ping :)
8 years, 3 months ago (2012-09-07 21:17:27 UTC) #2
Nikita (slow)
lgtm sorry for delay, was ooo on Friday. http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc#newcode1430 chrome/browser/chrome_browser_main.cc:1430: // ...
8 years, 3 months ago (2012-09-10 14:48:55 UTC) #3
SteveT
Thanks for the look, Nikita. http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc#newcode1430 chrome/browser/chrome_browser_main.cc:1430: // call FetchLanguageListFromTranslateServer. Ah ...
8 years, 3 months ago (2012-09-10 16:33:02 UTC) #4
SteveT
Thanks for the look, Nikita. http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/10917120/diff/2001/chrome/browser/chrome_browser_main.cc#newcode1430 chrome/browser/chrome_browser_main.cc:1430: // call FetchLanguageListFromTranslateServer. Ah ...
8 years, 3 months ago (2012-09-10 16:33:02 UTC) #5
SteveT
R+Alexei, cc+Jesse PTAL at the VariationsService-related changes.
8 years, 3 months ago (2012-09-10 16:33:41 UTC) #6
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc#newcode164 chrome/browser/metrics/variations/variations_service.cc:164: if (was_offline_during_last_request_attempt_) { I feel like it would better ...
8 years, 3 months ago (2012-09-10 16:50:11 UTC) #7
SteveT
Responses inline. PTAL. http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc#newcode164 chrome/browser/metrics/variations/variations_service.cc:164: if (was_offline_during_last_request_attempt_) { So you're suggesting ...
8 years, 3 months ago (2012-09-10 17:25:27 UTC) #8
MAD
Some drive by comments, since something similar will need to be done for the translate ...
8 years, 3 months ago (2012-09-10 17:35:02 UTC) #9
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): http://codereview.chromium.org/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc#newcode164 chrome/browser/metrics/variations/variations_service.cc:164: if (was_offline_during_last_request_attempt_) { On 2012/09/10 17:25:28, SteveT wrote: > ...
8 years, 3 months ago (2012-09-10 17:38:39 UTC) #10
SteveT
Okay cool. Responses inline for MAD. Thanks for the discussion, Alexei. I'll ping this when ...
8 years, 3 months ago (2012-09-10 19:33:52 UTC) #11
MAD
https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/chrome_browser_main.cc#newcode1441 chrome/browser/chrome_browser_main.cc:1441: // Request new variations seed information from server. On ...
8 years, 3 months ago (2012-09-10 19:46:15 UTC) #12
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc#newcode164 chrome/browser/metrics/variations/variations_service.cc:164: if (was_offline_during_last_request_attempt_) { > ResourceRequestChecks helper class (or some ...
8 years, 3 months ago (2012-09-10 21:47:35 UTC) #13
SteveT
https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/8003/chrome/browser/metrics/variations/variations_service.cc#newcode164 chrome/browser/metrics/variations/variations_service.cc:164: if (was_offline_during_last_request_attempt_) { On 2012/09/10 21:47:35, Alexei Svitkine wrote: ...
8 years, 3 months ago (2012-09-10 21:57:06 UTC) #14
SteveT
Alexei - PTAL at the line pointed out below, as part of our offline discussions. ...
8 years, 3 months ago (2012-09-11 14:16:21 UTC) #15
SteveT
Refactoring done. Alexei, Nikita, and MAD, PTAL :) BTW it looks like this didn't clean ...
8 years, 3 months ago (2012-09-11 18:30:05 UTC) #16
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/5004/chrome/browser/metrics/variations/variations_service.h File chrome/browser/metrics/variations/variations_service.h (right): http://codereview.chromium.org/10917120/diff/5004/chrome/browser/metrics/variations/variations_service.h#newcode59 chrome/browser/metrics/variations/variations_service.h:59: virtual void OnEulaAccepted() OVERRIDE; I was suggesting that ResourceRequestAllowedNotifier ...
8 years, 3 months ago (2012-09-11 18:35:38 UTC) #17
SteveT
Okay, more changes coming. http://codereview.chromium.org/10917120/diff/5004/chrome/browser/metrics/variations/variations_service.h File chrome/browser/metrics/variations/variations_service.h (right): http://codereview.chromium.org/10917120/diff/5004/chrome/browser/metrics/variations/variations_service.h#newcode59 chrome/browser/metrics/variations/variations_service.h:59: virtual void OnEulaAccepted() OVERRIDE; Hm, ...
8 years, 3 months ago (2012-09-11 18:46:14 UTC) #18
SteveT
Alexei: Okay, I think this is a bit closer to what you want. If this ...
8 years, 3 months ago (2012-09-11 20:58:23 UTC) #19
Alexei Svitkine (slow)
Yes, this is what I was looking for. :) Do you want me to review ...
8 years, 3 months ago (2012-09-11 21:16:03 UTC) #20
SteveT
On 2012/09/11 21:16:03, Alexei Svitkine wrote: > Yes, this is what I was looking for. ...
8 years, 3 months ago (2012-09-11 21:21:24 UTC) #21
SteveT
Okay - unittests are refactored, with a few new ones. Nikita, Alexei, and MAD, PTAL!
8 years, 3 months ago (2012-09-11 22:19:41 UTC) #22
Ilya Sherman
Drive-by with nits, no need to block on my review. https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc#newcode448 ...
8 years, 3 months ago (2012-09-11 22:51:26 UTC) #23
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/11004/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): http://codereview.chromium.org/10917120/diff/11004/chrome/browser/metrics/variations/variations_service.cc#newcode174 chrome/browser/metrics/variations/variations_service.cc:174: void VariationsService::SetWasOfflineDuringLastRequestAttemptForTesting( I don't see your tests calling this ...
8 years, 3 months ago (2012-09-12 15:15:46 UTC) #24
Nikita (slow)
lgtm chromeos code http://codereview.chromium.org/10917120/diff/11004/chrome/browser/resource_request_allowed_notifier.cc File chrome/browser/resource_request_allowed_notifier.cc (right): http://codereview.chromium.org/10917120/diff/11004/chrome/browser/resource_request_allowed_notifier.cc#newcode72 chrome/browser/resource_request_allowed_notifier.cc:72: // do not notify it. On ...
8 years, 3 months ago (2012-09-12 15:20:22 UTC) #25
SteveT
Sending this comment off to Ilya as I will be busy on another CL for ...
8 years, 3 months ago (2012-09-12 17:56:10 UTC) #26
Ilya Sherman
https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc#newcode448 chrome/browser/chromeos/login/wizard_controller.cc:448: content::NotificationService::AllSources(), On 2012/09/12 17:56:10, SteveT wrote: > I knew ...
8 years, 3 months ago (2012-09-12 20:30:01 UTC) #27
SteveT
On 2012/09/12 20:30:01, Ilya Sherman wrote: > https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc > File chrome/browser/chromeos/login/wizard_controller.cc (right): > > https://chromiumcodereview.appspot.com/10917120/diff/11004/chrome/browser/chromeos/login/wizard_controller.cc#newcode448 ...
8 years, 3 months ago (2012-09-12 21:19:29 UTC) #28
SteveT
Okay, I've addressed most of the comments. Please take a look at the tests again ...
8 years, 3 months ago (2012-09-14 20:25:09 UTC) #29
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); I don't like this at all. I understand ...
8 years, 3 months ago (2012-09-14 20:50:16 UTC) #30
SteveT
Over to Ilya with a question. http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); Hmm, this ...
8 years, 3 months ago (2012-09-14 20:52:44 UTC) #31
Ilya Sherman
https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); Ick. It looks like the WizardController class provides ...
8 years, 3 months ago (2012-09-14 20:55:43 UTC) #32
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); On 2012/09/14 20:55:43, Ilya Sherman wrote: > Ick. ...
8 years, 3 months ago (2012-09-14 20:59:21 UTC) #33
SteveT
Response to our soon to be epic thread! https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): https://chromiumcodereview.appspot.com/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); ...
8 years, 3 months ago (2012-09-14 21:01:02 UTC) #34
Ilya Sherman
http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); On 2012/09/14 20:52:45, SteveT wrote: > Hmm, this ...
8 years, 3 months ago (2012-09-14 21:05:16 UTC) #35
SteveT
Potato over to Nikita. http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); That's a possibility, assuming ...
8 years, 3 months ago (2012-09-14 21:09:24 UTC) #36
Nikita (slow)
http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); On 2012/09/14 21:09:24, SteveT wrote: > That's a ...
8 years, 3 months ago (2012-09-17 07:57:46 UTC) #37
SteveT
To summarize, it seems like what we are doing the right thing by checking IsEulaAccepted ...
8 years, 3 months ago (2012-09-17 13:12:03 UTC) #38
SteveT
BTW - Once the IsEulaAccepted starts returning true, there is nothing that will set it ...
8 years, 3 months ago (2012-09-17 13:17:00 UTC) #39
Nikita (slow)
On 2012/09/17 13:12:03, SteveT wrote: > One possible danger: Is it ever possible for IsEulaAccepted ...
8 years, 3 months ago (2012-09-17 13:27:44 UTC) #40
Nikita (slow)
On 2012/09/17 13:17:00, SteveT wrote: > BTW - Once the IsEulaAccepted starts returning true, there ...
8 years, 3 months ago (2012-09-17 13:27:58 UTC) #41
SteveT
http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc File chrome/browser/chromeos/login/base_login_display_host.cc (right): http://codereview.chromium.org/10917120/diff/1016/chrome/browser/chromeos/login/base_login_display_host.cc#newcode201 chrome/browser/chromeos/login/base_login_display_host.cc:201: RegisterForEulaAcceptedNotification(wizard_controller_.get()); From offline discussion with Nikita: It looks like ...
8 years, 3 months ago (2012-09-17 14:32:27 UTC) #42
SteveT
Okay, so after some debugging and discussions with Nikita, it looks like we can't easily ...
8 years, 3 months ago (2012-09-19 01:59:10 UTC) #43
Ilya Sherman
On 2012/09/19 01:59:10, SteveT wrote: > Okay, so after some debugging and discussions with Nikita, ...
8 years, 3 months ago (2012-09-19 02:47:11 UTC) #44
SteveT
On 2012/09/19 02:47:11, Ilya Sherman wrote: > On 2012/09/19 01:59:10, SteveT wrote: > > Okay, ...
8 years, 3 months ago (2012-09-19 18:10:10 UTC) #45
SteveT
Okay, back to using AllSources, with a comment to explain why. Fixed up a few ...
8 years, 3 months ago (2012-09-19 19:27:09 UTC) #46
Alexei Svitkine (slow)
I haven't finished looking over everything yet, but here's the first set of comments. http://codereview.chromium.org/10917120/diff/24001/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc ...
8 years, 3 months ago (2012-09-19 19:44:28 UTC) #47
Ilya Sherman
(lg) http://codereview.chromium.org/10917120/diff/24001/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc File chrome/browser/metrics/variations/resource_request_allowed_notifier.cc (right): http://codereview.chromium.org/10917120/diff/24001/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc#newcode31 chrome/browser/metrics/variations/resource_request_allowed_notifier.cc:31: // observer. nit: Please mention that the WizardController ...
8 years, 3 months ago (2012-09-19 19:49:01 UTC) #48
Alexei Svitkine (slow)
And another set of comments. http://codereview.chromium.org/10917120/diff/24001/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc File chrome/browser/metrics/variations/resource_request_allowed_notifier.cc (right): http://codereview.chromium.org/10917120/diff/24001/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc#newcode43 chrome/browser/metrics/variations/resource_request_allowed_notifier.cc:43: DCHECK(!observer_ && observer); Either ...
8 years, 3 months ago (2012-09-19 20:05:35 UTC) #49
SteveT
Okay, I think I've addressed everything from this round. Note that there was some significant ...
8 years, 3 months ago (2012-09-20 19:40:18 UTC) #50
Alexei Svitkine (slow)
More comments your way, mostly about the tests now. Getting closer. http://codereview.chromium.org/10917120/diff/31001/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc File chrome/browser/metrics/variations/resource_request_allowed_notifier.cc (right): ...
8 years, 3 months ago (2012-09-20 21:39:03 UTC) #51
SteveT
Thanks for the comments - tests are looking a lot nicer now. Back to you ...
8 years, 3 months ago (2012-09-21 15:16:17 UTC) #52
Alexei Svitkine (slow)
Thanks, tests are looking much better. Almost there, just a few more comments. http://codereview.chromium.org/10917120/diff/33005/chrome/browser/metrics/variations/resource_request_allowed_notifier.cc File ...
8 years, 3 months ago (2012-09-21 15:52:05 UTC) #53
SteveT
Fixed issues, updated tests, rebased files, and made some non-CrOS compiler fixes (trybots underway again). ...
8 years, 3 months ago (2012-09-24 15:38:37 UTC) #54
SteveT
One question inline for Nikita. http://codereview.chromium.org/10917120/diff/38002/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): http://codereview.chromium.org/10917120/diff/38002/chrome/browser/chromeos/login/wizard_controller.cc#newcode139 chrome/browser/chromeos/login/wizard_controller.cc:139: previous_screen_(NULL), Question for Nikita: ...
8 years, 3 months ago (2012-09-24 15:41:13 UTC) #55
Alexei Svitkine (slow)
Looking good, just a few more comments, mostly about comments and names and asking for ...
8 years, 3 months ago (2012-09-24 15:59:35 UTC) #56
Nikita (slow)
On 2012/09/24 15:41:13, SteveT wrote: > One question inline for Nikita. > > http://codereview.chromium.org/10917120/diff/38002/chrome/browser/chromeos/login/wizard_controller.cc > ...
8 years, 3 months ago (2012-09-24 16:02:00 UTC) #57
SteveT
Back to you. TODOs left: - Manual re-testing on CrOS and non-CrOS to ensure things ...
8 years, 3 months ago (2012-09-24 18:04:27 UTC) #58
Alexei Svitkine (slow)
http://codereview.chromium.org/10917120/diff/38002/chrome/browser/metrics/variations/variations_service_unittest.cc File chrome/browser/metrics/variations/variations_service_unittest.cc (right): http://codereview.chromium.org/10917120/diff/38002/chrome/browser/metrics/variations/variations_service_unittest.cc#newcode497 chrome/browser/metrics/variations/variations_service_unittest.cc:497: EXPECT_FALSE(test_service.fetch_attempted()); Sorry, what I actually meant was: Can you ...
8 years, 3 months ago (2012-09-24 18:24:19 UTC) #59
SteveT
Back to you. Status: - Bots are looking greener, though ASAN tests seem to be ...
8 years, 3 months ago (2012-09-24 18:46:21 UTC) #60
Alexei Svitkine (slow)
Just a few remaining comments. http://codereview.chromium.org/10917120/diff/32016/chrome/browser/metrics/variations/resource_request_allowed_notifier.h File chrome/browser/metrics/variations/resource_request_allowed_notifier.h (right): http://codereview.chromium.org/10917120/diff/32016/chrome/browser/metrics/variations/resource_request_allowed_notifier.h#newcode62 chrome/browser/metrics/variations/resource_request_allowed_notifier.h:62: void SetObserverRequestedPermissionForTesting(bool requested); Instead ...
8 years, 3 months ago (2012-09-24 20:47:05 UTC) #61
SteveT
Over to you. Manual testing looking good.. finishing last round tomorrow (EULA+Network tests). http://codereview.chromium.org/10917120/diff/32016/chrome/browser/metrics/variations/resource_request_allowed_notifier.h File ...
8 years, 3 months ago (2012-09-24 23:30:37 UTC) #62
Alexei Svitkine (slow)
LGTM, thanks! http://codereview.chromium.org/10917120/diff/57001/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc File chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc (right): http://codereview.chromium.org/10917120/diff/57001/chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc#newcode82 chrome/browser/metrics/variations/resource_request_allowed_notifier_unittest.cc:82: ResourceRequestsAllowed(); Nit: I think this can fit ...
8 years, 2 months ago (2012-09-25 15:34:34 UTC) #63
SteveT
Thanks for that epic review, Alexei. Over for OWNERS review now. +sky: Mind taking a ...
8 years, 2 months ago (2012-09-25 15:44:11 UTC) #64
SteveT
+sky for realz for OWNERS review of chrome/
8 years, 2 months ago (2012-09-25 15:44:36 UTC) #65
sky
LGTM
8 years, 2 months ago (2012-09-25 16:19:01 UTC) #66
Nikita (slow)
lgtm http://codereview.chromium.org/10917120/diff/51002/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): http://codereview.chromium.org/10917120/diff/51002/chrome/browser/chromeos/login/wizard_controller.cc#newcode469 chrome/browser/chromeos/login/wizard_controller.cc:469: content::NotificationSource(content::Source<WizardController>(this)), As you're essentially using AllSources in ResourceRequestAllowedNotifier, ...
8 years, 2 months ago (2012-09-25 16:23:46 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/10917120/51002
8 years, 2 months ago (2012-09-25 18:41:34 UTC) #68
SteveT
Let's see if the CQ gives us some more love than these manual bot runs. ...
8 years, 2 months ago (2012-09-25 18:49:10 UTC) #69
commit-bot: I haz the power
8 years, 2 months ago (2012-09-25 20:51:41 UTC) #70
Change committed as 158648

Powered by Google App Engine
This is Rietveld 408576698