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

Issue 15755016: Introduce a single call to grab default browser on Win8 for tests. (Closed)

Created:
7 years, 6 months ago by gab
Modified:
7 years, 6 months ago
Reviewers:
sky, grt (UTC plus 2)
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Introduce a single call to grab default browser on Win8 for tests. Required to avoid duplicating code for upcoming Ash browser_tests on Windows. Also avoids calling into OpenWithDialogController if the test is already default browser. BUG=179830 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202599

Patch Set 1 : #

Total comments: 20

Patch Set 2 : review #

Total comments: 2

Patch Set 3 : scoped_ptr #

Total comments: 2

Patch Set 4 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -35 lines) Patch
M ash/test/test_suite.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M ash/test/test_suite.cc View 1 2 3 3 chunks +5 lines, -10 lines 0 comments Download
M win8/test/metro_registration_helper.h View 1 1 chunk +8 lines, -12 lines 0 comments Download
M win8/test/metro_registration_helper.cc View 1 5 chunks +66 lines, -13 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
gab
Sir, please take a look. Cheers! Gab https://codereview.chromium.org/15755016/diff/4001/win8/test/metro_registration_helper.cc File win8/test/metro_registration_helper.cc (left): https://codereview.chromium.org/15755016/diff/4001/win8/test/metro_registration_helper.cc#oldcode48 win8/test/metro_registration_helper.cc:48: register_command.AppendSwitchNative(win8::test::kTestAppUserModelId, test_registrar ...
7 years, 6 months ago (2013-05-27 15:55:11 UTC) #1
grt (UTC plus 2)
https://codereview.chromium.org/15755016/diff/4001/ash/test/test_suite.cc File ash/test/test_suite.cc (right): https://codereview.chromium.org/15755016/diff/4001/ash/test/test_suite.cc#newcode43 ash/test/test_suite.cc:43: base::win::ScopedCOMInitializer com_initializer; COM shouldn't be initialized and uninitialized like ...
7 years, 6 months ago (2013-05-27 16:11:14 UTC) #2
gab
Thanks, comments addressed, PTAL! Cheers, Gab https://codereview.chromium.org/15755016/diff/4001/ash/test/test_suite.cc File ash/test/test_suite.cc (right): https://codereview.chromium.org/15755016/diff/4001/ash/test/test_suite.cc#newcode43 ash/test/test_suite.cc:43: base::win::ScopedCOMInitializer com_initializer; On ...
7 years, 6 months ago (2013-05-27 16:47:57 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/15755016/diff/10001/ash/test/test_suite.h File ash/test/test_suite.h (right): https://codereview.chromium.org/15755016/diff/10001/ash/test/test_suite.h#newcode29 ash/test/test_suite.h:29: base::win::ScopedCOMInitializer com_initializer; I think it's best to follow the ...
7 years, 6 months ago (2013-05-27 18:46:04 UTC) #4
gab
Done, PTAL. Thanks! Gab https://codereview.chromium.org/15755016/diff/10001/ash/test/test_suite.h File ash/test/test_suite.h (right): https://codereview.chromium.org/15755016/diff/10001/ash/test/test_suite.h#newcode29 ash/test/test_suite.h:29: base::win::ScopedCOMInitializer com_initializer; On 2013/05/27 18:46:04, ...
7 years, 6 months ago (2013-05-27 20:22:10 UTC) #5
grt (UTC plus 2)
lgtm w/ one tweak. https://codereview.chromium.org/15755016/diff/17002/ash/test/test_suite.cc File ash/test/test_suite.cc (right): https://codereview.chromium.org/15755016/diff/17002/ash/test/test_suite.cc#newcode64 ash/test/test_suite.cc:64: #if defined(OS_WIN) move this down ...
7 years, 6 months ago (2013-05-28 01:17:48 UTC) #6
gab
Thanks, done. @sky for OWNER approval on ash/test/test_suite.[cc|h] Cheers, Gab https://codereview.chromium.org/15755016/diff/17002/ash/test/test_suite.cc File ash/test/test_suite.cc (right): https://codereview.chromium.org/15755016/diff/17002/ash/test/test_suite.cc#newcode64 ...
7 years, 6 months ago (2013-05-28 13:49:43 UTC) #7
sky
LGTM
7 years, 6 months ago (2013-05-28 15:41:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/15755016/27001
7 years, 6 months ago (2013-05-28 15:57:15 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-05-28 17:56:10 UTC) #10
Message was sent while issue was closed.
Change committed as 202599

Powered by Google App Engine
This is Rietveld 408576698