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

Unified Diff: components/gcm_driver/gcm_client_impl.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/gcm_client_impl.h
diff --git a/components/gcm_driver/gcm_client_impl.h b/components/gcm_driver/gcm_client_impl.h
index 9e102154b86b20e1cbe8c7ac5d81432a36087b1f..f546cfb788900fcd525574ac0cbdfb267c5f1408 100644
--- a/components/gcm_driver/gcm_client_impl.h
+++ b/components/gcm_driver/gcm_client_impl.h
@@ -118,6 +118,9 @@ class GCMClientImpl
void Register(const linked_ptr<RegistrationInfo>& registration_info) override;
void Unregister(
const linked_ptr<RegistrationInfo>& registration_info) override;
+ bool ValidateRegistration(
Peter Beverloo 2017/03/20 23:50:13 micro nit: ordering (one line up)
johnme 2017/03/30 18:36:38 Done.
+ const linked_ptr<RegistrationInfo>& registration_info,
+ const std::string& registration_id) override;
void Send(const std::string& app_id,
const std::string& receiver_id,
const OutgoingMessage& message) override;

Powered by Google App Engine
This is Rietveld 408576698