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

Unified Diff: components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java

Issue 338363003: Push API: register PushMessagingServiceImpl as GCMAppHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing const on CanHandle. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java
diff --git a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java
index 932d47a879d6fea7608552914ad80521e1b348c2..8d21b2876435f26e9fc2f3dcb0ea2964022dd2d4 100644
--- a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java
+++ b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMDriver.java
@@ -229,9 +229,6 @@ public class GCMDriver {
try {
final int MAX_RENDERERS = 1;
BrowserStartupController.get(context).startBrowserProcessesSync(MAX_RENDERERS);
- // TODO(johnme): Explicitly call a JNI method that starts up GCMDriver,
- // rather than relying on it being started automatically by
- // ProfileSyncServiceFactory::BuildServiceInstanceFor.
if (sInstance != null) {
task.run();
} else {

Powered by Google App Engine
This is Rietveld 408576698