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

Issue 1974153002: Add an experiment for the default browser infobar on Windows 10 (Closed)

Created:
4 years, 7 months ago by Patrick Monette
Modified:
4 years, 6 months ago
Reviewers:
Nico, Peter Kasting, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an experiment for the default browser infobar on Windows 10 Add an experiment called StickyDefaultBrowserInfobar that keeps the infobar opens as long as the user haven't made a choice in the Windows settings or until 2 minutes elapsed, whichever come first. BUG=576490 Committed: https://crrev.com/fca05f3ef0b065bdbbff695a1d5906dd5b6b55ac Cr-Commit-Position: refs/heads/master@{#397451}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Adding a test. Currently violate DEPS rules #

Patch Set 3 : Specific include rule for unittests #

Total comments: 38

Patch Set 4 : pkasting comments #

Total comments: 6

Patch Set 5 : Cleaned up stuff #

Patch Set 6 : Unused header #

Patch Set 7 : Rebase #

Patch Set 8 : Private destructor for ref counted class #

Patch Set 9 : Compile the test only on desktop platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -185 lines) Patch
M chrome/browser/shell_integration.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
A chrome/browser/ui/startup/default_browser_infobar_delegate.h View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/ui/startup/default_browser_infobar_delegate.cc View 1 2 3 4 1 chunk +178 lines, -0 lines 0 comments Download
A chrome/browser/ui/startup/default_browser_infobar_delegate_unittest.cc View 1 2 3 4 5 6 7 1 chunk +148 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 3 chunks +3 lines, -184 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
Patrick Monette
PTAL https://codereview.chromium.org/1974153002/diff/20001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1974153002/diff/20001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode7 chrome/browser/ui/startup/default_browser_prompt.cc:7: #include <limits> This fixes a lint error.
4 years, 7 months ago (2016-05-12 23:43:25 UTC) #3
Patrick Monette
ping!
4 years, 7 months ago (2016-05-16 18:09:53 UTC) #4
Peter Kasting
I don't see any evidence of the 2 minute timeout thing? Is it possible to ...
4 years, 7 months ago (2016-05-17 03:07:37 UTC) #5
Patrick Monette
On 2016/05/17 03:07:37, Peter Kasting wrote: > I don't see any evidence of the 2 ...
4 years, 6 months ago (2016-05-31 15:18:33 UTC) #6
Patrick Monette
https://codereview.chromium.org/1974153002/diff/20001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1974153002/diff/20001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode51 chrome/browser/ui/startup/default_browser_prompt.cc:51: static const base::Feature kStickyDefaultBrowserInfobar{ On 2016/05/17 03:07:37, Peter Kasting ...
4 years, 6 months ago (2016-05-31 15:19:41 UTC) #7
Peter Kasting
https://codereview.chromium.org/1974153002/diff/60001/chrome/browser/ui/startup/default_browser_infobar_delegate.h File chrome/browser/ui/startup/default_browser_infobar_delegate.h (right): https://codereview.chromium.org/1974153002/diff/60001/chrome/browser/ui/startup/default_browser_infobar_delegate.h#newcode20 chrome/browser/ui/startup/default_browser_infobar_delegate.h:20: extern const base::Feature kStickyDefaultBrowserPrompt; Is it possible to declare ...
4 years, 6 months ago (2016-06-01 00:21:12 UTC) #8
Patrick Monette
Thanks for the suggestion Peter. Can you take a final look? sky@ Need owner's review ...
4 years, 6 months ago (2016-06-01 18:43:49 UTC) #9
Patrick Monette
Forgot to add sky@ to reviewers.
4 years, 6 months ago (2016-06-01 18:44:10 UTC) #11
Peter Kasting
LGTM with one substantive comment. https://codereview.chromium.org/1974153002/diff/60001/chrome/browser/ui/startup/default_browser_infobar_delegate.h File chrome/browser/ui/startup/default_browser_infobar_delegate.h (right): https://codereview.chromium.org/1974153002/diff/60001/chrome/browser/ui/startup/default_browser_infobar_delegate.h#newcode51 chrome/browser/ui/startup/default_browser_infobar_delegate.h:51: void AllowExpiry() { should_expire_ ...
4 years, 6 months ago (2016-06-01 19:32:11 UTC) #12
sky
Peter is an owner of c/b/ui, so I only looked at the reset of the ...
4 years, 6 months ago (2016-06-01 20:15:41 UTC) #13
Patrick Monette
Thanks! Sorry I rushed the last patch to get it in before a meeting and ...
4 years, 6 months ago (2016-06-01 22:07:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974153002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974153002/140001
4 years, 6 months ago (2016-06-01 23:54:30 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/212701) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-02 00:12:33 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974153002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974153002/160001
4 years, 6 months ago (2016-06-02 00:55:14 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/75280)
4 years, 6 months ago (2016-06-02 01:17:56 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974153002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974153002/180001
4 years, 6 months ago (2016-06-02 16:09:24 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 6 months ago (2016-06-02 17:06:30 UTC) #28
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/fca05f3ef0b065bdbbff695a1d5906dd5b6b55ac Cr-Commit-Position: refs/heads/master@{#397451}
4 years, 6 months ago (2016-06-02 17:07:35 UTC) #30
Nico
you forgot to add your new test to the gn build. please fix? :-)
4 years, 6 months ago (2016-06-03 19:35:27 UTC) #32
Patrick Monette
4 years, 6 months ago (2016-06-04 02:52:30 UTC) #33
Message was sent while issue was closed.
On 2016/06/03 19:35:27, Nico wrote:
> you forgot to add your new test to the gn build. please fix? :-)

Uhh my bad. I changed it from a gyp variable (shared with GN) to a sources list
in my last patch. Will fix!

Powered by Google App Engine
This is Rietveld 408576698