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

Issue 256133002: Changes view manager test to connect via shell (Closed)

Created:
6 years, 7 months ago by sky
Modified:
6 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Changes view manager test to connect via shell Previously code was linking with ViewManager, now I'm connecting through the shell. As part of this I'm adding a general class that should make it easy to connect to any server through the shell. For the time being I'm making the shell explicitly link with the viewmanager. Eventually that'll have to change. BUG=365012 TEST=covered by tests R=davemoore@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266937

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : merge to trunk #

Total comments: 2

Patch Set 4 : use testapi to get shell handle #

Patch Set 5 : update comment #

Total comments: 2

Patch Set 6 : make work on non-aura #

Patch Set 7 : merge to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -53 lines) Patch
M mojo/mojo.gyp View 1 2 3 4 5 2 chunks +25 lines, -0 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/service_manager/service_manager.h View 1 2 3 4 1 chunk +13 lines, -8 lines 0 comments Download
M mojo/service_manager/service_manager.cc View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 3 4 5 6 11 chunks +54 lines, -38 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 5 4 chunks +65 lines, -4 lines 0 comments Download
M mojo/shell/run.cc View 1 chunk +0 lines, -1 line 0 comments Download
A mojo/shell/shell_test_helper.h View 1 chunk +66 lines, -0 lines 0 comments Download
A mojo/shell/shell_test_helper.cc View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
sky
6 years, 7 months ago (2014-04-28 14:34:18 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/256133002/diff/40001/mojo/shell/context.cc File mojo/shell/context.cc (right): https://codereview.chromium.org/256133002/diff/40001/mojo/shell/context.cc#newcode123 mojo/shell/context.cc:123: // TODO(sky): need a better way to find this. ...
6 years, 7 months ago (2014-04-28 19:21:08 UTC) #2
sky
Updated to expose function to get a handle to shell on ServiceManager::TestAPI https://codereview.chromium.org/256133002/diff/40001/mojo/shell/context.cc File mojo/shell/context.cc ...
6 years, 7 months ago (2014-04-28 21:16:05 UTC) #3
sky
I didn't expose a Shell* as I worried about the threading implications. -Scott On Mon, ...
6 years, 7 months ago (2014-04-28 21:37:32 UTC) #4
DaveMoore
https://codereview.chromium.org/256133002/diff/60002/mojo/shell/shell_test_helper.cc File mojo/shell/shell_test_helper.cc (right): https://codereview.chromium.org/256133002/diff/60002/mojo/shell/shell_test_helper.cc#newcode30 mojo/shell/shell_test_helper.cc:30: new ServiceManager::TestAPI(state->context->service_manager())); Why is the test_api instance retained? Isn't ...
6 years, 7 months ago (2014-04-28 22:40:53 UTC) #5
sky
https://codereview.chromium.org/256133002/diff/60002/mojo/shell/shell_test_helper.cc File mojo/shell/shell_test_helper.cc (right): https://codereview.chromium.org/256133002/diff/60002/mojo/shell/shell_test_helper.cc#newcode30 mojo/shell/shell_test_helper.cc:30: new ServiceManager::TestAPI(state->context->service_manager())); On 2014/04/28 22:40:54, DaveMoore wrote: > Why ...
6 years, 7 months ago (2014-04-28 22:47:06 UTC) #6
DaveMoore
lgtm
6 years, 7 months ago (2014-04-28 23:03:48 UTC) #7
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-28 23:04:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/60002
6 years, 7 months ago (2014-04-28 23:05:03 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 23:13:23 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_clang_dbg
6 years, 7 months ago (2014-04-28 23:13:24 UTC) #11
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-28 23:21:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/80001
6 years, 7 months ago (2014-04-28 23:21:59 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 00:13:05 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 00:13:06 UTC) #15
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-29 00:13:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/80001
6 years, 7 months ago (2014-04-29 00:16:53 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 00:37:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-29 00:37:23 UTC) #19
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-29 01:59:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/80001
6 years, 7 months ago (2014-04-29 01:59:33 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 03:13:01 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-29 03:13:01 UTC) #23
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-29 14:42:36 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/80001
6 years, 7 months ago (2014-04-29 14:42:52 UTC) #25
sky
The CQ bit was unchecked by sky@chromium.org
6 years, 7 months ago (2014-04-29 14:59:13 UTC) #26
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-04-29 15:23:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/256133002/100001
6 years, 7 months ago (2014-04-29 15:24:01 UTC) #28
sky
6 years, 7 months ago (2014-04-29 19:31:46 UTC) #29
Message was sent while issue was closed.
Committed patchset #7 manually as r266937 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698