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

Unified Diff: components/gcm_driver/instance_id/instance_id_impl.h

Issue 2789123003: [GCM] Run InstanceIDImpl callbacks asynchronously (Closed)
Patch Set: Created 3 years, 9 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/instance_id/instance_id_impl.h
diff --git a/components/gcm_driver/instance_id/instance_id_impl.h b/components/gcm_driver/instance_id/instance_id_impl.h
index f082ed973a7664cdb6b7a9653fa49425ea04986d..0bc98515b922cc074d0c1cdfa91e46052bdef487 100644
--- a/components/gcm_driver/instance_id/instance_id_impl.h
+++ b/components/gcm_driver/instance_id/instance_id_impl.h
@@ -77,6 +77,9 @@ class InstanceIDImpl : public InstanceID {
gcm::InstanceIDHandler* Handler();
+ // Asynchronously runs task once delayed_task_controller_ is ready.
+ void RunWhenReady(base::Closure task);
+
gcm::GCMDelayedTaskController delayed_task_controller_;
// The generated Instance ID.

Powered by Google App Engine
This is Rietveld 408576698