Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Issue 285203005: Hook components/gcm_driver up to JNI Generator (Closed)

Created:
6 years, 7 months ago by johnme
Modified:
6 years, 7 months ago
CC:
chromium-reviews, jianli, Peter Beverloo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments, and add GCMDriver.java to fix compile #

Total comments: 13

Patch Set 3 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -0 lines) Patch
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver.gypi View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M components/gcm_driver/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A components/gcm_driver/android/component_jni_registrar.h View 1 1 chunk +21 lines, -0 lines 0 comments Download
A components/gcm_driver/android/component_jni_registrar.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java View 1 1 chunk +22 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_driver_android.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_driver_android.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
johnme
bulach: please review overall correct usage of JNI generator (and OWNERS approval of chrome/browser/android/chrome_jni_registrar.cc) jochen: ...
6 years, 7 months ago (2014-05-15 12:56:58 UTC) #1
bulach
lgtm, but I'm not an owner. just checking: does the gypi rule work fine without ...
6 years, 7 months ago (2014-05-15 13:05:15 UTC) #2
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/285203005/diff/1/components/gcm_driver/DEPS File components/gcm_driver/DEPS (right): https://codereview.chromium.org/285203005/diff/1/components/gcm_driver/DEPS#newcode4 components/gcm_driver/DEPS:4: "+jni", is there also a jni gyp target ...
6 years, 7 months ago (2014-05-15 14:20:21 UTC) #3
fgorski
https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi File components/gcm_driver.gypi (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi#newcode26 components/gcm_driver.gypi:26: 'gcm_driver/gcm_driver_android.cc', Will it be correct to build jni* and ...
6 years, 7 months ago (2014-05-15 17:38:02 UTC) #4
johnme
Thanks both! Addressed comments. Marcus wrote: > just checking: does the gypi rule work fine ...
6 years, 7 months ago (2014-05-15 17:39:47 UTC) #5
bulach
lgtm, but one suggestion https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/gcm_driver_android.cc File components/gcm_driver/gcm_driver_android.cc (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/gcm_driver_android.cc#newcode14 components/gcm_driver/gcm_driver_android.cc:14: void doNothing() { nit: s/do/Do/ ...
6 years, 7 months ago (2014-05-15 17:49:08 UTC) #6
johnme
https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi File components/gcm_driver.gypi (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi#newcode26 components/gcm_driver.gypi:26: 'gcm_driver/gcm_driver_android.cc', On 2014/05/15 17:38:02, fgorski wrote: > Will it ...
6 years, 7 months ago (2014-05-15 17:54:14 UTC) #7
fgorski
On 2014/05/15 17:54:14, johnme wrote: > https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi > File components/gcm_driver.gypi (right): > > https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi#newcode26 > ...
6 years, 7 months ago (2014-05-15 18:01:17 UTC) #8
jianli
https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi File components/gcm_driver.gypi (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver.gypi#newcode41 components/gcm_driver.gypi:41: ['OS=="android"', { nit: space before and after '==' https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/android/component_jni_registrar.h ...
6 years, 7 months ago (2014-05-15 18:13:38 UTC) #9
jianli
https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/android/component_jni_registrar.h File components/gcm_driver/android/component_jni_registrar.h (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/android/component_jni_registrar.h#newcode10 components/gcm_driver/android/component_jni_registrar.h:10: namespace gcm { On 2014/05/15 18:13:39, jianli wrote: > ...
6 years, 7 months ago (2014-05-15 19:04:43 UTC) #10
jianli
https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/android/component_jni_registrar.cc File components/gcm_driver/android/component_jni_registrar.cc (right): https://codereview.chromium.org/285203005/diff/20001/components/gcm_driver/android/component_jni_registrar.cc#newcode29 components/gcm_driver/android/component_jni_registrar.cc:29: } // namespace gcm_driver nit: in a few places ...
6 years, 7 months ago (2014-05-15 19:05:26 UTC) #11
johnme
Thanks everyone, addressed the review comments. Filip wrote: > you meant don't get build outside ...
6 years, 7 months ago (2014-05-15 19:29:41 UTC) #12
johnme
The CQ bit was checked by [email protected]
6 years, 7 months ago (2014-05-15 19:38:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/285203005/40001
6 years, 7 months ago (2014-05-15 19:40:56 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 22:23:50 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 23:14:06 UTC) #16
Message was sent while issue was closed.
Change committed as 270843

Powered by Google App Engine
This is Rietveld 408576698