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

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

Issue 2697793004: Push API: Validate storage before returning cached subscriptions (Closed)
Patch Set: Comment out PUSH_GETREGISTRATION_STATUS_PUBLIC_KEY_UNAVAILABLE Created 3 years, 10 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_android.h
diff --git a/components/gcm_driver/instance_id/instance_id_android.h b/components/gcm_driver/instance_id/instance_id_android.h
index 44302d03aa39a99cda4b5de3a4ae0ff1fef56ac1..cb3fce0fd34c2b238f6fc8963355178997bea902 100644
--- a/components/gcm_driver/instance_id/instance_id_android.h
+++ b/components/gcm_driver/instance_id/instance_id_android.h
@@ -50,6 +50,10 @@ class InstanceIDAndroid : public InstanceID {
const std::string& scope,
const std::map<std::string, std::string>& options,
const GetTokenCallback& callback) override;
+ void ValidateToken(const std::string& authorized_entity,
+ const std::string& scope,
+ const std::string& token,
+ const ValidateTokenCallback& callback) override;
void DeleteTokenImpl(const std::string& audience,
const std::string& scope,
const DeleteTokenCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698