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

Issue 491443005: Get rid of KeepAlive. Quit shell when all urls run directly by Context are closed. (Closed)

Created:
6 years, 4 months ago by DaveMoore
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Get rid of KeepAlive. Quit shell when all urls run directly by Context are closed. BUG= Committed: https://crrev.com/9567e664440a3d550d3e5819dbeca544953f7e7f Cr-Commit-Position: refs/heads/master@{#291723}

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Bring back ConnectToServiceViaNetwork #

Total comments: 13

Patch Set 4 : Review nits #

Patch Set 5 : Break out both NVS and VM #

Patch Set 6 : Remove workaround for thunks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -93 lines) Patch
M mojo/aura/aura_init.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 9 chunks +7 lines, -25 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 4 5 chunks +1 line, -5 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 8 chunks +20 lines, -7 lines 0 comments Download
M mojo/services/html_viewer/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/BUILD.gn View 1 2 3 4 2 chunks +11 lines, -8 lines 0 comments Download
A mojo/services/native_viewport/main.cc View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 4 chunks +8 lines, -28 lines 0 comments Download
M mojo/shell/desktop/mojo_main.cc View 1 2 3 4 3 chunks +11 lines, -16 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
DaveMoore
Cleanup
6 years, 4 months ago (2014-08-22 22:13:33 UTC) #1
DaveMoore
This also ensures that all threads associated with running DSOs are joined before the ApplicationManager ...
6 years, 4 months ago (2014-08-22 22:15:46 UTC) #2
tim (not reviewing)
Cool! Will take a look asap. One off-the-cuff comment below. https://codereview.chromium.org/491443005/diff/20001/mojo/shell/shell_test_base.cc File mojo/shell/shell_test_base.cc (left): https://codereview.chromium.org/491443005/diff/20001/mojo/shell/shell_test_base.cc#oldcode40 ...
6 years, 4 months ago (2014-08-22 22:24:21 UTC) #3
DaveMoore
Bring back ConnectToServiceViaNetwork
6 years, 4 months ago (2014-08-22 22:48:00 UTC) #4
DaveMoore
https://codereview.chromium.org/491443005/diff/20001/mojo/shell/shell_test_base.cc File mojo/shell/shell_test_base.cc (left): https://codereview.chromium.org/491443005/diff/20001/mojo/shell/shell_test_base.cc#oldcode40 mojo/shell/shell_test_base.cc:40: test_server_->base_url()); Whoops. I changed that accidentally. It's back now. ...
6 years, 4 months ago (2014-08-22 22:48:35 UTC) #5
tim (not reviewing)
looks nice. https://codereview.chromium.org/491443005/diff/40001/mojo/application_manager/application_manager.h File mojo/application_manager/application_manager.h (right): https://codereview.chromium.org/491443005/diff/40001/mojo/application_manager/application_manager.h#newcode25 mojo/application_manager/application_manager.h:25: virtual void OnServiceError(const GURL& url) = 0; ...
6 years, 4 months ago (2014-08-23 00:14:27 UTC) #6
DaveMoore
Review nits
6 years, 4 months ago (2014-08-24 22:30:49 UTC) #7
DaveMoore
https://codereview.chromium.org/491443005/diff/40001/mojo/application_manager/application_manager.h File mojo/application_manager/application_manager.h (right): https://codereview.chromium.org/491443005/diff/40001/mojo/application_manager/application_manager.h#newcode25 mojo/application_manager/application_manager.h:25: virtual void OnServiceError(const GURL& url) = 0; On 2014/08/23 ...
6 years, 4 months ago (2014-08-24 22:31:11 UTC) #8
tim (not reviewing)
LGTM assuming what I said below makes sense. https://codereview.chromium.org/491443005/diff/40001/mojo/shell/dynamic_application_loader.cc File mojo/shell/dynamic_application_loader.cc (right): https://codereview.chromium.org/491443005/diff/40001/mojo/shell/dynamic_application_loader.cc#newcode151 mojo/shell/dynamic_application_loader.cc:151: base::Unretained(runner.get()), ...
6 years, 3 months ago (2014-08-25 16:56:47 UTC) #9
DaveMoore
The CQ bit was checked by davemoore@chromium.org
6 years, 3 months ago (2014-08-25 16:58:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/491443005/60001
6 years, 3 months ago (2014-08-25 16:58:33 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-25 17:52:53 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (60001) as be3787d50f2ab74e1767462ea01cceb470b08549
6 years, 3 months ago (2014-08-25 18:34:13 UTC) #13
DaveMoore
Break out both NVS and VM
6 years, 3 months ago (2014-09-02 22:00:48 UTC) #14
DaveMoore
Remove workaround for thunks
6 years, 3 months ago (2014-09-02 22:13:44 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:36:03 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9567e664440a3d550d3e5819dbeca544953f7e7f
Cr-Commit-Position: refs/heads/master@{#291723}

Powered by Google App Engine
This is Rietveld 408576698