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

Issue 10832034: Upstreaming AndroidProtocolAdapter. (Closed)

Created:
8 years, 5 months ago by felipeg
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Upstreaming AndroidProtocolAdapter. We currently don't have a way of compiling or running java unittests upstream. So the java unittest for AndroidProtocolAdapter is being done only downstream for now. It should be upstreamed once we can. BUG=136983 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149653

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 29

Patch Set 6 : #

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Total comments: 10

Patch Set 12 : #

Patch Set 13 : #

Total comments: 2

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+865 lines, -0 lines) Patch
A build/jar_file_jni_generator.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java View 1 2 3 4 5 1 chunk +233 lines, -0 lines 0 comments Download
A chrome/browser/android/android_protocol_adapter.h View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/android/android_protocol_adapter.cc View 1 2 3 4 5 6 7 8 1 chunk +224 lines, -0 lines 0 comments Download
A chrome/browser/android/android_stream_reader_url_request_job.h View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/browser/android/android_stream_reader_url_request_job.cc View 1 2 3 4 5 1 chunk +228 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
felipeg
Hi guys, I would like you to review this cl. thakis@ for chrome/ avi@ for ...
8 years, 5 months ago (2012-07-26 15:04:34 UTC) #1
Sami
+mkosiba@ who has also been looking at this lately.
8 years, 5 months ago (2012-07-26 15:06:10 UTC) #2
Avi (use Gerrit)
No. If in your CL the only change in content is altering a file with ...
8 years, 5 months ago (2012-07-26 15:08:52 UTC) #3
Sami
https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.cc#newcode60 content/public/common/url_constants.cc:60: const char kTelScheme[] = "tel"; Ditto. https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.h File content/public/common/url_constants.h ...
8 years, 5 months ago (2012-07-26 15:12:31 UTC) #4
felipeg
Avi is right. Removed the constant from content:: and using the constant (that surprisingly was ...
8 years, 5 months ago (2012-07-26 15:37:43 UTC) #5
mkosiba (inactive)
https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.h File content/public/common/url_constants.h (right): https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.h#newcode69 content/public/common/url_constants.h:69: extern const char kTelScheme[]; On 2012/07/26 15:12:32, Sami wrote: ...
8 years, 5 months ago (2012-07-26 16:01:04 UTC) #6
felipeg
https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.h File content/public/common/url_constants.h (right): https://chromiumcodereview.appspot.com/10832034/diff/1/content/public/common/url_constants.h#newcode69 content/public/common/url_constants.h:69: extern const char kTelScheme[]; On 2012/07/26 16:01:04, Martin Kosiba ...
8 years, 5 months ago (2012-07-26 16:28:50 UTC) #7
felipeg
Thanks Martin, I addressed all comments, ptal. cheers -- Felipeg https://chromiumcodereview.appspot.com/10832034/diff/6001/chrome/browser/android/android_protocol_adapter.cc File chrome/browser/android/android_protocol_adapter.cc (right): https://chromiumcodereview.appspot.com/10832034/diff/6001/chrome/browser/android/android_protocol_adapter.cc#newcode5 ...
8 years, 4 months ago (2012-07-27 13:32:30 UTC) #8
mkosiba (inactive)
https://chromiumcodereview.appspot.com/10832034/diff/4010/chrome/browser/android/android_protocol_adapter.cc File chrome/browser/android/android_protocol_adapter.cc (right): https://chromiumcodereview.appspot.com/10832034/diff/4010/chrome/browser/android/android_protocol_adapter.cc#newcode5 chrome/browser/android/android_protocol_adapter.cc:5: // URL request job for reading data from an ...
8 years, 4 months ago (2012-07-27 13:34:25 UTC) #9
felipeg
https://chromiumcodereview.appspot.com/10832034/diff/4010/chrome/browser/android/android_protocol_adapter.cc File chrome/browser/android/android_protocol_adapter.cc (right): https://chromiumcodereview.appspot.com/10832034/diff/4010/chrome/browser/android/android_protocol_adapter.cc#newcode5 chrome/browser/android/android_protocol_adapter.cc:5: // URL request job for reading data from an ...
8 years, 4 months ago (2012-07-27 13:36:20 UTC) #10
mkosiba (inactive)
LGTM, but you'll need an OWNER/committer approval as well.
8 years, 4 months ago (2012-07-27 13:39:40 UTC) #11
Nico
Will look at the rest soon. https://chromiumcodereview.appspot.com/10832034/diff/5005/build/system_classes_jni_generator.gypi File build/system_classes_jni_generator.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/5005/build/system_classes_jni_generator.gypi#newcode36 build/system_classes_jni_generator.gypi:36: fi)', The Gyp ...
8 years, 4 months ago (2012-07-27 14:22:23 UTC) #12
Nico
Can you update http://www.chromium.org/developers/design-documents/android-jni with a note about the system jni file and explain when ...
8 years, 4 months ago (2012-07-27 15:23:45 UTC) #13
felipeg
https://chromiumcodereview.appspot.com/10832034/diff/5005/build/system_classes_jni_generator.gypi File build/system_classes_jni_generator.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/5005/build/system_classes_jni_generator.gypi#newcode36 build/system_classes_jni_generator.gypi:36: fi)', On 2012/07/27 14:22:23, Nico wrote: > The Gyp ...
8 years, 4 months ago (2012-07-30 16:48:54 UTC) #14
felipeg
Also updated: https://sites.google.com/a/chromium.org/dev/developers/design-documents/android-jni?pli=1
8 years, 4 months ago (2012-07-30 17:00:13 UTC) #15
Nico
LGTM A few minor comments below (the checkdeps is somewhat important). Please land after addressing ...
8 years, 4 months ago (2012-07-31 14:07:12 UTC) #16
felipeg
https://chromiumcodereview.appspot.com/10832034/diff/5005/chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java (right): https://chromiumcodereview.appspot.com/10832034/diff/5005/chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java#newcode130 chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java:130: // we have permission to read (see b/3125650). On ...
8 years, 4 months ago (2012-07-31 14:54:36 UTC) #17
Nico
https://chromiumcodereview.appspot.com/10832034/diff/5005/chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java (right): https://chromiumcodereview.appspot.com/10832034/diff/5005/chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java#newcode130 chrome/android/java/src/org/chromium/chrome/browser/AndroidProtocolAdapter.java:130: // we have permission to read (see b/3125650). sgtm
8 years, 4 months ago (2012-07-31 14:57:53 UTC) #18
Yaron
drive-by comments https://chromiumcodereview.appspot.com/10832034/diff/4027/build/system_classes_jni_generator.gypi File build/system_classes_jni_generator.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/4027/build/system_classes_jni_generator.gypi#newcode39 build/system_classes_jni_generator.gypi:39: '<(SHARED_INTERMEDIATE_DIR)/chrome/jni/input_stream_jni.h', This isn't really re-usable and doesn't ...
8 years, 4 months ago (2012-07-31 15:21:30 UTC) #19
felipeg_google
FYI, I discussed with Yaron, and I am addressing these comments. I will ping when ...
8 years, 4 months ago (2012-07-31 16:07:08 UTC) #20
felipeg
Thanks Yaron. Ptal https://chromiumcodereview.appspot.com/10832034/diff/4027/build/system_classes_jni_generator.gypi File build/system_classes_jni_generator.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/4027/build/system_classes_jni_generator.gypi#newcode39 build/system_classes_jni_generator.gypi:39: '<(SHARED_INTERMEDIATE_DIR)/chrome/jni/input_stream_jni.h', On 2012/07/31 15:21:30, Yaron wrote: ...
8 years, 4 months ago (2012-08-01 13:46:50 UTC) #21
Yaron
Can you land the gyp changes downstream first to make sure everything works. https://chromiumcodereview.appspot.com/10832034/diff/14005/build/android_jar_location.sh File ...
8 years, 4 months ago (2012-08-01 20:27:26 UTC) #22
felipeg
https://chromiumcodereview.appspot.com/10832034/diff/14005/build/android_jar_location.sh File build/android_jar_location.sh (right): https://chromiumcodereview.appspot.com/10832034/diff/14005/build/android_jar_location.sh#newcode8 build/android_jar_location.sh:8: if [ -f $ANDROID_SDK_ROOT/android.jar ]; then On 2012/08/01 20:27:26, ...
8 years, 4 months ago (2012-08-02 13:20:37 UTC) #23
Yaron
lgtm
8 years, 4 months ago (2012-08-02 15:04:55 UTC) #24
felipeg
Hey Yaron, That solution still didn't work. I had to change it again. Ptal in ...
8 years, 4 months ago (2012-08-02 15:09:50 UTC) #25
Yaron
https://chromiumcodereview.appspot.com/10832034/diff/15016/build/jar_file_jni_generator.gypi File build/jar_file_jni_generator.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/15016/build/jar_file_jni_generator.gypi#newcode14 build/jar_file_jni_generator.gypi:14: # 'input_jar_file': '<(android_sdk)/android.jar', Update https://chromiumcodereview.appspot.com/10832034/diff/15016/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://chromiumcodereview.appspot.com/10832034/diff/15016/chrome/chrome_browser.gypi#newcode5498 ...
8 years, 4 months ago (2012-08-02 15:17:11 UTC) #26
felipeg
OK, done as discussed by chat. Ptal On Thu, Aug 2, 2012 at 5:17 PM, ...
8 years, 4 months ago (2012-08-02 15:36:56 UTC) #27
Yaron
lgtm
8 years, 4 months ago (2012-08-02 15:49:42 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/10832034/3024
8 years, 4 months ago (2012-08-02 16:22:05 UTC) #29
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 18:04:50 UTC) #30
Change committed as 149653

Powered by Google App Engine
This is Rietveld 408576698