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

Issue 331443004: GCMDriver.java should start the browser processes if necessary (Closed)

Created:
6 years, 6 months ago by johnme
Modified:
6 years, 6 months ago
Reviewers:
aberent, fgorski
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, Michael van Ouwerkerk, mlamouri (slow - plz ping)
Visibility:
Public.

Description

GCMDriver.java should start the browser processes if necessary When GCMDriver is woken up for an Intent, now if the browser processes aren't yet started (along with GCMDriver's corresponding native counterpart), it will start the browser processes itself. Depends on https://codereview.chromium.org/314293006/ BUG=350384 R=aberent@chromium.org, fgorski@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277060

Patch Set 1 #

Total comments: 5

Patch Set 2 : Context as first parameter and add TODO #

Patch Set 3 : Avoid double-handling of GCM messages already handled in Java #

Patch Set 4 : Fix checkdeps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -8 lines) Patch
M build/android/findbugs_filter/findbugs_exclude.xml View 1 chunk +5 lines, -0 lines 0 comments Download
M components/gcm_driver.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java View 1 2 4 chunks +42 lines, -6 lines 0 comments Download
M components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMListener.java View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
johnme
6 years, 6 months ago (2014-06-11 19:22:00 UTC) #1
fgorski
A couple of comments to clarify my understanding of the code. https://codereview.chromium.org/331443004/diff/1/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java File components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java (right): ...
6 years, 6 months ago (2014-06-11 22:59:29 UTC) #2
aberent
lgtm
6 years, 6 months ago (2014-06-12 17:24:05 UTC) #3
johnme
https://codereview.chromium.org/331443004/diff/1/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java File components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java (right): https://codereview.chromium.org/331443004/diff/1/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java#newcode202 components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java:202: private static void launchNativeThen(Runnable task, Context context) { On ...
6 years, 6 months ago (2014-06-12 18:09:05 UTC) #4
johnme
https://codereview.chromium.org/331443004/diff/1/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java File components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java (right): https://codereview.chromium.org/331443004/diff/1/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java#newcode217 components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java:217: Log.e(TAG, "Started browser process, but failed to instantiate GCMDriver."); ...
6 years, 6 months ago (2014-06-12 23:46:55 UTC) #5
fgorski
lgtm
6 years, 6 months ago (2014-06-13 00:13:16 UTC) #6
johnme
The CQ bit was checked by johnme@chromium.org
6 years, 6 months ago (2014-06-13 12:53:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/johnme@chromium.org/331443004/40001
6 years, 6 months ago (2014-06-13 12:53:39 UTC) #8
johnme
The CQ bit was checked by johnme@chromium.org
6 years, 6 months ago (2014-06-13 14:52:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/johnme@chromium.org/331443004/60001
6 years, 6 months ago (2014-06-13 14:54:17 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-13 18:12:00 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 18:13:35 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/32234)
6 years, 6 months ago (2014-06-13 18:13:36 UTC) #13
johnme
6 years, 6 months ago (2014-06-13 18:41:00 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r277060 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698