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

Issue 792463007: Allow ApplicationTestBase clients to avoid a default MessageLoop. (Closed)

Created:
6 years ago by DaleCurtis
Modified:
6 years ago
Reviewers:
msw, sky, jamesr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Allow ApplicationTestBase clients to avoid a default MessageLoop. Provides a means for overriding the creation of a default message loop. Such a loop is unnecessary for many tests and causes issues with the bevy of existing chrome tests which expect to be able to create their own message loop. BUG=none TEST=https://codereview.chromium.org/806443002/ R=msw@chromium.org, sky@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/dcc2f22a40eb6070ba79b322f8db3a2a7cc1bb22

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M mojo/public/cpp/application/application_test_base.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/application_test_base.cc View 1 2 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
DaleCurtis
6 years ago (2014-12-16 01:09:07 UTC) #2
sky
LGTM with a name change https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/application_test_base.h File mojo/public/cpp/application/application_test_base.h (right): https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/application_test_base.h#newcode51 mojo/public/cpp/application/application_test_base.h:51: virtual bool IsDefaultLoopEnabled(); This ...
6 years ago (2014-12-16 03:47:36 UTC) #3
msw
lgtm with sky's proposed name change. https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/lib/application_test_base.cc File mojo/public/cpp/application/lib/application_test_base.cc (right): https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/lib/application_test_base.cc#newcode62 mojo/public/cpp/application/lib/application_test_base.cc:62: if (IsDefaultLoopEnabled()) Hmm, ...
6 years ago (2014-12-16 15:40:32 UTC) #4
DaleCurtis
https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/application_test_base.h File mojo/public/cpp/application/application_test_base.h (right): https://codereview.chromium.org/792463007/diff/1/mojo/public/cpp/application/application_test_base.h#newcode51 mojo/public/cpp/application/application_test_base.h:51: virtual bool IsDefaultLoopEnabled(); On 2014/12/16 03:47:36, sky wrote: > ...
6 years ago (2014-12-16 19:26:12 UTC) #5
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years ago (2014-12-16 19:27:57 UTC) #8
DaleCurtis
Hmm, I have no idea how to land this. CQ fails and "git cl land" ...
6 years ago (2014-12-16 19:30:26 UTC) #9
msw
On 2014/12/16 19:30:26, DaleCurtis wrote: > Hmm, I have no idea how to land this. ...
6 years ago (2014-12-16 20:02:05 UTC) #11
msw
Maybe click Join here: https://github.com/orgs/domokit/teams/contributors
6 years ago (2014-12-16 20:03:25 UTC) #12
DaleCurtis
On 2014/12/16 20:03:25, msw wrote: > Maybe click Join here: > https://github.com/orgs/domokit/teams/contributors I can't see ...
6 years ago (2014-12-16 20:39:33 UTC) #13
jamesr
I can invite you to the organization. One moment...
6 years ago (2014-12-16 20:43:34 UTC) #14
jamesr
OK, I've invited dalecurtis to the domokit contributors team. Accept that invitation and then run ...
6 years ago (2014-12-16 20:44:16 UTC) #15
DaleCurtis
Committed patchset #2 (id:20001) manually as dcc2f22a40eb6070ba79b322f8db3a2a7cc1bb22 (presubmit successful).
6 years ago (2014-12-16 20:52:44 UTC) #16
DaleCurtis
6 years ago (2014-12-16 20:52:56 UTC) #17
Message was sent while issue was closed.
Thanks!

Powered by Google App Engine
This is Rietveld 408576698