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

Issue 7712014: Make a channel and time limited persistent PreRead experiment (Closed)

Created:
9 years, 4 months ago by chrisha
Modified:
9 years, 4 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, cpu_(ooo_6.6-7.5)
Visibility:
Public.

Description

Make a channel and time limited persistent PreRead experiment Our previous PreRead experiment involved flipping a coin on every launch, but we wish to persist the coin-toss between launches. Additionally, this version of the field trial includes an expiry date and limits it to the canary and dev channels. We are unable to use the FieldTrial mechanism due to PreRead occuring prior to chrome.dll being loaded. As such, we use the registry for persisting the coin-toss and environment variables for communicating between chrome.exe and chrome.dll. Initially Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98319 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=98388 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98482

Patch Set 1 : '' #

Total comments: 12

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -16 lines) Patch
M chrome/app/client_util.cc View 1 2 7 chunks +112 lines, -4 lines 0 comments Download
M chrome/browser/browser_main.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 4 chunks +44 lines, -6 lines 0 comments Download
M chrome/browser/browser_main_win.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
chrisha
PTAL
9 years, 4 months ago (2011-08-23 13:57:46 UTC) #1
Sigurður Ásgeirsson
As we discussed, this won't work for side by side installs. Thankfully, Carlos pointed out ...
9 years, 4 months ago (2011-08-23 20:54:11 UTC) #2
chrisha
PTAL
9 years, 4 months ago (2011-08-25 17:20:34 UTC) #3
Sigurður Ásgeirsson
sweet! http://codereview.chromium.org/7712014/diff/8002/chrome/app/client_util.cc File chrome/app/client_util.cc (right): http://codereview.chromium.org/7712014/diff/8002/chrome/app/client_util.cc#newcode102 chrome/app/client_util.cc:102: // Get the build time. This is copied ...
9 years, 4 months ago (2011-08-25 17:44:14 UTC) #4
chrisha
Addressed siggi's comments. http://codereview.chromium.org/7712014/diff/8002/chrome/app/client_util.cc File chrome/app/client_util.cc (right): http://codereview.chromium.org/7712014/diff/8002/chrome/app/client_util.cc#newcode102 chrome/app/client_util.cc:102: // Get the build time. This ...
9 years, 4 months ago (2011-08-25 19:39:17 UTC) #5
Sigurður Ásgeirsson
lgtm
9 years, 4 months ago (2011-08-25 19:52:44 UTC) #6
commit-bot: I haz the power
Change committed as 98319
9 years, 4 months ago (2011-08-25 21:56:21 UTC) #7
jar (doing other things)
Why did you want to persist the experiment state? Are you expecting run-to-run impact? Flipping ...
9 years, 4 months ago (2011-08-25 23:52:07 UTC) #8
jbates
Why no try bots?
9 years, 4 months ago (2011-08-26 01:15:43 UTC) #9
chrisha
On 2011/08/25 23:52:07, jar wrote: > Why did you want to persist the experiment state? ...
9 years, 4 months ago (2011-08-26 01:41:16 UTC) #10
chrisha
On 2011/08/26 01:15:43, jbates wrote: > Why no try bots? I had been told that ...
9 years, 4 months ago (2011-08-26 01:42:43 UTC) #11
chrisha
Broke the tree and reverted. New CL coming tomorrow morning. http://codereview.chromium.org/7712014/diff/14001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): http://codereview.chromium.org/7712014/diff/14001/chrome/app/client_util.cc#newcode115 ...
9 years, 4 months ago (2011-08-26 03:17:57 UTC) #12
chrisha
Fixed the broken line of code in a GOOGLE_CHROME_BUILD guard, tested on an official build ...
9 years, 4 months ago (2011-08-26 15:05:47 UTC) #13
jar (doing other things)
[Drive by commentary on your comment....] I'm sorry you got the (incorrect) info that hitting ...
9 years, 4 months ago (2011-08-26 16:48:19 UTC) #14
Sigurður Ásgeirsson
lgtm
9 years, 4 months ago (2011-08-26 16:54:05 UTC) #15
chrisha
Thanks, committing via the commit queue. NOTE: The linux try bot seems flaky. It crashed ...
9 years, 4 months ago (2011-08-26 19:05:26 UTC) #16
commit-bot: I haz the power
9 years, 4 months ago (2011-08-26 20:47:05 UTC) #17
Change committed as 98482

Powered by Google App Engine
This is Rietveld 408576698