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

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

Issue 1128123003: Implement InstanceID API functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 7 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.h
diff --git a/components/gcm_driver/instance_id/instance_id.h b/components/gcm_driver/instance_id/instance_id.h
index 4ee57e24508b17cb09aa7445d743d844c69de848..731d274f59759114adba568892d7eb55f442a564 100644
--- a/components/gcm_driver/instance_id/instance_id.h
+++ b/components/gcm_driver/instance_id/instance_id.h
@@ -39,15 +39,12 @@ class InstanceID {
};
// Asynchronous callbacks.
- typedef base::Callback<void(InstanceID* instance_id,
+ typedef base::Callback<void(const std::string& app_id,
bool update_id)> TokenRefreshCallback;
- typedef base::Callback<void(InstanceID* instance_id,
- const std::string& token,
+ typedef base::Callback<void(const std::string& token,
Result result)> GetTokenCallback;
- typedef base::Callback<void(InstanceID* instance_id,
- Result result)> DeleteTokenCallback;
- typedef base::Callback<void(InstanceID* instance_id,
- Result result)> DeleteIDCallback;
+ typedef base::Callback<void(Result result)> DeleteTokenCallback;
+ typedef base::Callback<void(Result result)> DeleteIDCallback;
static const int kInstanceIDByteLength = 8;
« no previous file with comments | « chrome/test/data/extensions/api_test/instance_id/incognito/test.js ('k') | components/gcm_driver/instance_id/instance_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698