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

Issue 2043703003: 🍆 Move GCM browser initialization to chrome layer. (Closed)

Created:
4 years, 6 months ago by Peter Wen
Modified:
4 years, 6 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, mvanouwerkerk+watch_chromium.org, johnme+watch_chromium.org, harkness+watch_chromium.org, zea+watch_chromium.org, Michael van Ouwerkerk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move GCM browser initialization to chrome layer. The only java-side user of GCMDriver is ChromeGcmListenerService.java so rather than use BrowserStartupController and doing all the necessary initialization (like PathUtils) separately, use the unified ChromeBrowserInitializer path instead. Tested codepath according to: http://crbug.com/585421#c7 BUG=583086 Committed: https://crrev.com/287cd4fcdeff6f62024f67d6959f87264fa820ce Cr-Commit-Position: refs/heads/master@{#398312}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix per review. #

Patch Set 3 : Move FB suppressant. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -68 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/services/gcm/ChromeGcmListenerService.java View 1 2 3 chunks +15 lines, -6 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/push_messaging/PushMessagingTest.java View 1 2 chunks +8 lines, -3 lines 0 comments Download
M components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java View 1 3 chunks +29 lines, -59 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Peter Wen
Hi Peter, could you take a look at this cleanup CL? Thanks.
4 years, 6 months ago (2016-06-06 16:19:51 UTC) #3
Peter Beverloo
Code SGTM, one question: Would you perhaps have a very brief overview of the differences ...
4 years, 6 months ago (2016-06-07 10:31:47 UTC) #4
Peter Wen
ChromeBrowserInitializer should now become the only way to start up the Chrome browser process in ...
4 years, 6 months ago (2016-06-07 12:26:52 UTC) #5
Peter Beverloo
lgtm On 2016/06/07 12:26:52, Peter Wen wrote: > ChromeBrowserInitializer should now become the only way ...
4 years, 6 months ago (2016-06-07 12:53:28 UTC) #6
Peter Wen
cc+mvanouwerkerk@ for why GCMDriver.java did not need/have @SuppressFBWarnings for System.exit(-1) before.
4 years, 6 months ago (2016-06-07 13:46:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043703003/40001
4 years, 6 months ago (2016-06-07 16:03:09 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-07 16:35:23 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 16:38:06 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/287cd4fcdeff6f62024f67d6959f87264fa820ce
Cr-Commit-Position: refs/heads/master@{#398312}

Powered by Google App Engine
This is Rietveld 408576698