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

Issue 10343007: Retrieving Chrome Variations seed from server and storing in local prefs. Loading seed data from lo… (Closed)

Created:
8 years, 7 months ago by jwd
Modified:
8 years, 7 months ago
CC:
chromium-reviews, finch-team_google.com, jar (doing other things), MAD, Ilya Sherman
Visibility:
Public.

Description

Retrieving Chrome Variations seed from server and storing in local prefs. Loading seed data from local prefs during start up. BUG=121695 TEST=Clear the Local State file from the chrome data dir. Run chrome. Ensure the variations_seed pref is set. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135654

Patch Set 1 #

Total comments: 56

Patch Set 2 : Fixing many nits #

Total comments: 39

Patch Set 3 : Fixing more nits from everyone! #

Total comments: 10

Patch Set 4 : Nits and Making VariationsService a singleton again #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : MAD's final nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -0 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/metrics/proto/study.proto View 1 1 chunk +96 lines, -0 lines 0 comments Download
A chrome/browser/metrics/proto/trials_seed.proto View 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations_service.h View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations_service.cc View 1 2 3 4 5 1 chunk +96 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jwd
This is the first pass at the variations client. It's not ready to commit yet, ...
8 years, 7 months ago (2012-05-02 22:02:09 UTC) #1
Ilya Sherman
Drive-by: Looks good at a high level; lots of nits inline. https://chromiumcodereview.appspot.com/10343007/diff/1/chrome/browser/chrome_browser_main.h File chrome/browser/chrome_browser_main.h (right): ...
8 years, 7 months ago (2012-05-02 23:15:08 UTC) #2
SteveT
Cool! Also pleased with high level. Nits and questions inline. Are you planning on adding ...
8 years, 7 months ago (2012-05-03 04:02:52 UTC) #3
jwd
Fixed most of the comments. One left unfixed, need to look into it more. Still ...
8 years, 7 months ago (2012-05-03 22:27:49 UTC) #4
SteveT
Are you planning on doing more work in this CL (like moving the Service around ...
8 years, 7 months ago (2012-05-03 23:46:24 UTC) #5
Alexei Svitkine (slow)
Some drive-by: https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc#newcode566 chrome/browser/chrome_browser_main.cc:566: variations_service_(NULL) { I don't think this line ...
8 years, 7 months ago (2012-05-04 03:09:53 UTC) #6
MAD
A few more nits and I'll see if I can find a more proper place ...
8 years, 7 months ago (2012-05-04 12:29:57 UTC) #7
jwd
https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc#newcode566 chrome/browser/chrome_browser_main.cc:566: variations_service_(NULL) { On 2012/05/04 03:09:53, Alexei Svitkine wrote: > ...
8 years, 7 months ago (2012-05-04 19:33:06 UTC) #8
Alexei Svitkine (slow)
LGTM with comments. https://chromiumcodereview.appspot.com/10343007/diff/22001/chrome/browser/metrics/variations_service.cc File chrome/browser/metrics/variations_service.cc (right): https://chromiumcodereview.appspot.com/10343007/diff/22001/chrome/browser/metrics/variations_service.cc#newcode22 chrome/browser/metrics/variations_service.cc:22: } Nit: Change to "} // ...
8 years, 7 months ago (2012-05-04 19:39:33 UTC) #9
MAD
A few more... Getting closer... Well done... Thanks! BYE MAD... https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://chromiumcodereview.appspot.com/10343007/diff/8001/chrome/browser/chrome_browser_main.cc#newcode1882 ...
8 years, 7 months ago (2012-05-04 20:53:12 UTC) #10
jwd
Adding rtenneti@ for OWNERS review. Tests for VariationsService will be put in a different CL ...
8 years, 7 months ago (2012-05-04 22:11:23 UTC) #11
MAD
LGTM with one last request... Thanks! BYE MAD https://chromiumcodereview.appspot.com/10343007/diff/13024/chrome/browser/metrics/variations_service.h File chrome/browser/metrics/variations_service.h (right): https://chromiumcodereview.appspot.com/10343007/diff/13024/chrome/browser/metrics/variations_service.h#newcode25 chrome/browser/metrics/variations_service.h:25: Please ...
8 years, 7 months ago (2012-05-04 23:09:07 UTC) #12
SteveT
LGTM, given: 1. Please provide manual testing instructions. 2. A follow up CL later on ...
8 years, 7 months ago (2012-05-05 00:03:45 UTC) #13
ramant (doing other things)
lgtm LGTM
8 years, 7 months ago (2012-05-07 01:00:26 UTC) #14
jwd
https://chromiumcodereview.appspot.com/10343007/diff/13024/chrome/browser/metrics/variations_service.h File chrome/browser/metrics/variations_service.h (right): https://chromiumcodereview.appspot.com/10343007/diff/13024/chrome/browser/metrics/variations_service.h#newcode25 chrome/browser/metrics/variations_service.h:25: On 2012/05/04 23:09:07, MAD wrote: > Please privatize the ...
8 years, 7 months ago (2012-05-07 13:09:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/10343007/23004
8 years, 7 months ago (2012-05-07 15:03:37 UTC) #16
commit-bot: I haz the power
8 years, 7 months ago (2012-05-07 16:28:37 UTC) #17
Change committed as 135654

Powered by Google App Engine
This is Rietveld 408576698