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

Issue 898853006: Java content handler for Android. (Closed)

Created:
5 years, 10 months ago by etiennej
Modified:
5 years, 10 months ago
Reviewers:
qsr
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:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Java content handler for Android. This is a first version of the Java content handler for android. I didn't have to touch base/, but I had to change a few BUILD.gn and rules.gni files to make the thing compile and run correctly. R=qsr@chromium.org, qsr BUG= Committed: https://chromium.googlesource.com/external/mojo/+/f2b541cc026bf5d63126bec23da6fd5f167db9a5

Patch Set 1 #

Total comments: 40

Patch Set 2 : #

Patch Set 3 : #

Total comments: 30

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Total comments: 24

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+863 lines, -3 lines) Patch
M examples/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
A examples/android/App.java View 1 2 3 4 5 6 7 8 1 chunk +148 lines, -0 lines 0 comments Download
A examples/android/BUILD.gn View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M mojo/android/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -2 lines 0 comments Download
A mojo/android/system/base_run_loop.h View 1 chunk +20 lines, -0 lines 0 comments Download
A mojo/android/system/base_run_loop.cc View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
A mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java View 1 2 3 4 5 6 7 1 chunk +76 lines, -0 lines 0 comments Download
M mojo/android/system/src/org/chromium/mojo/system/impl/CoreImpl.java View 1 2 3 4 5 6 7 3 chunks +34 lines, -0 lines 0 comments Download
M mojo/public/java/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/java/system/src/org/chromium/mojo/system/Core.java View 1 2 4 1 chunk +9 lines, -0 lines 0 comments Download
A mojo/public/java/system/src/org/chromium/mojo/system/RunLoop.java View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
M mojo/tools/data/apptests View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M services/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A services/android/BUILD.gn View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A services/android/java/src/org/chromium/services/android/JavaHandler.java View 1 2 3 4 5 6 7 8 1 chunk +141 lines, -0 lines 0 comments Download
A services/android/java_handler.h View 1 chunk +48 lines, -0 lines 0 comments Download
A services/android/java_handler.cc View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
A services/android/rules.gni View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
etiennej
5 years, 10 months ago (2015-02-05 16:15:35 UTC) #1
qsr
https://codereview.chromium.org/898853006/diff/1/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/898853006/diff/1/build/android/gyp/javac.py#newcode109 build/android/gyp/javac.py:109: def CreateManifest(manifest_path, classpath, main_class=None, is_mojo=False): What about adding a ...
5 years, 10 months ago (2015-02-05 16:50:08 UTC) #2
etiennej
https://codereview.chromium.org/898853006/diff/1/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/898853006/diff/1/build/android/gyp/javac.py#newcode109 build/android/gyp/javac.py:109: def CreateManifest(manifest_path, classpath, main_class=None, is_mojo=False): On 2015/02/05 16:50:06, qsr ...
5 years, 10 months ago (2015-02-06 16:22:30 UTC) #3
qsr
https://codereview.chromium.org/898853006/diff/40001/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/898853006/diff/40001/build/android/gyp/javac.py#newcode120 build/android/gyp/javac.py:120: main_class: If present, the class containing the main() function. ...
5 years, 10 months ago (2015-02-06 17:16:14 UTC) #4
etiennej
https://codereview.chromium.org/898853006/diff/40001/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/898853006/diff/40001/build/android/gyp/javac.py#newcode120 build/android/gyp/javac.py:120: main_class: If present, the class containing the main() function. ...
5 years, 10 months ago (2015-02-09 14:09:52 UTC) #5
qsr
Can you re-upload with the changes we talked about offline? https://codereview.chromium.org/898853006/diff/60001/mojo/android/system/base_run_loop.cc File mojo/android/system/base_run_loop.cc (right): https://codereview.chromium.org/898853006/diff/60001/mojo/android/system/base_run_loop.cc#newcode51 ...
5 years, 10 months ago (2015-02-09 15:54:53 UTC) #6
etiennej
https://codereview.chromium.org/898853006/diff/60001/mojo/android/system/base_run_loop.cc File mojo/android/system/base_run_loop.cc (right): https://codereview.chromium.org/898853006/diff/60001/mojo/android/system/base_run_loop.cc#newcode51 mojo/android/system/base_run_loop.cc:51: new base::android::ScopedJavaGlobalRef<jobject>(); On 2015/02/09 15:54:52, qsr wrote: > Look ...
5 years, 10 months ago (2015-02-09 16:41:30 UTC) #7
qsr
https://codereview.chromium.org/898853006/diff/70023/base/macros.h File base/macros.h (right): https://codereview.chromium.org/898853006/diff/70023/base/macros.h#newcode66 base/macros.h:66: #define arraysize(array) (sizeof(::ArraySizeHelper(array))) This is now fixed upstream. https://codereview.chromium.org/898853006/diff/70023/build/android/gyp/javac.py ...
5 years, 10 months ago (2015-02-10 11:58:19 UTC) #8
etiennej
https://codereview.chromium.org/898853006/diff/70023/base/macros.h File base/macros.h (right): https://codereview.chromium.org/898853006/diff/70023/base/macros.h#newcode66 base/macros.h:66: #define arraysize(array) (sizeof(::ArraySizeHelper(array))) On 2015/02/10 11:58:18, qsr wrote: > ...
5 years, 10 months ago (2015-02-10 14:32:04 UTC) #9
qsr
LGTM with nits. https://codereview.chromium.org/898853006/diff/130001/services/android/java/src/org/chromium/services/android/JavaHandler.java File services/android/java/src/org/chromium/services/android/JavaHandler.java (right): https://codereview.chromium.org/898853006/diff/130001/services/android/java/src/org/chromium/services/android/JavaHandler.java#newcode48 services/android/java/src/org/chromium/services/android/JavaHandler.java:48: static void clearTemporaryFiles(Context context, File archive) ...
5 years, 10 months ago (2015-02-10 14:48:22 UTC) #10
etiennej
5 years, 10 months ago (2015-02-20 11:39:57 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 (id:150001) manually as
f2b541cc026bf5d63126bec23da6fd5f167db9a5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698