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

Issue 1046013002: Split LoadAndRunNativeApplication() ... (Closed)

Created:
5 years, 8 months ago by viettrungluu
Modified:
5 years, 8 months ago
Reviewers:
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

Split LoadAndRunNativeApplication() ... (... to separate LoadNativeApplication() and RunNativeApplication()). * This is to better support sandboxing in the near future. (Note: All the thunks are set in RunNativeApplication(). This should be fine with respect to sandboxing. More questionable is the calling of InitGoRuntime() (though this is supposedly temporary). We'll worry about that if it ever becomes a problem.) * Also rename the files from dynamic_service_runner.* to native_application_support.*. * Also make a separate native_application_support target. (The inclusion of dynamic_service_runner.* in the in_process_native_runner target was never really right anyway. * Remove the (trivial -- just for an enum declaration) dependency of native_application_support.* on application_manager. This is so the future mojo_shell_child binary won't need to depend on half the world, and thus link in dynamic libraries it may not need. R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/e126c86bc85bc9a2b8a0951a1573c45a03e12c18

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix android #

Patch Set 3 : moar enum #

Patch Set 4 : oops #

Patch Set 5 : doh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -237 lines) Patch
M mojo/public/cpp/bindings/BUILD.gn View 3 chunks +11 lines, -10 lines 0 comments Download
M shell/BUILD.gn View 1 2 3 4 3 chunks +27 lines, -13 lines 0 comments Download
M shell/android/android_handler.cc View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M shell/app_child_process.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M shell/application_manager/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M shell/application_manager/application_manager.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M shell/application_manager/application_manager.cc View 1 2 4 chunks +11 lines, -10 lines 0 comments Download
M shell/application_manager/native_runner.h View 1 2 2 chunks +8 lines, -10 lines 0 comments Download
D shell/dynamic_service_runner.h View 1 chunk +0 lines, -34 lines 0 comments Download
D shell/dynamic_service_runner.cc View 1 chunk +0 lines, -126 lines 0 comments Download
M shell/in_process_native_runner.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M shell/in_process_native_runner.cc View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M shell/launcher_main.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A shell/native_application_support.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A shell/native_application_support.cc View 1 2 1 chunk +124 lines, -0 lines 0 comments Download
M shell/native_runner_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M shell/out_of_process_native_runner.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M shell/out_of_process_native_runner.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
viettrungluu
5 years, 8 months ago (2015-03-30 21:59:09 UTC) #1
jamesr
Looks like android is Teh Sad https://codereview.chromium.org/1046013002/diff/1/shell/native_application_support.h File shell/native_application_support.h (right): https://codereview.chromium.org/1046013002/diff/1/shell/native_application_support.h#newcode31 shell/native_application_support.h:31: bool should_delete_app_path); could ...
5 years, 8 months ago (2015-03-30 22:15:22 UTC) #2
viettrungluu
Thanks, PTAL. On 2015/03/30 22:15:22, jamesr wrote: > Looks like android is Teh Sad Fixed, ...
5 years, 8 months ago (2015-03-30 22:53:08 UTC) #3
jamesr
lgtm
5 years, 8 months ago (2015-03-30 23:53:54 UTC) #4
viettrungluu
5 years, 8 months ago (2015-03-31 02:20:50 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
e126c86bc85bc9a2b8a0951a1573c45a03e12c18 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698