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

Unified Diff: components/gcm_driver/fake_gcm_client.h

Issue 2697793004: Push API: Validate storage before returning cached subscriptions (Closed)
Patch Set: Fix include 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
« no previous file with comments | « components/gcm_driver/crypto/gcm_encryption_provider.h ('k') | components/gcm_driver/fake_gcm_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/fake_gcm_client.h
diff --git a/components/gcm_driver/fake_gcm_client.h b/components/gcm_driver/fake_gcm_client.h
index 251b0fd5b22fe49d83ff94857fae1f775510d225..0199b3ab705d45f1cf96250aac268d0dd215a7b7 100644
--- a/components/gcm_driver/fake_gcm_client.h
+++ b/components/gcm_driver/fake_gcm_client.h
@@ -53,6 +53,9 @@ class FakeGCMClient : public GCMClient {
void Start(StartMode start_mode) override;
void Stop() override;
void Register(const linked_ptr<RegistrationInfo>& registration_info) override;
+ bool ValidateRegistration(
+ const linked_ptr<RegistrationInfo>& registration_info,
+ const std::string& registration_id) override;
void Unregister(
const linked_ptr<RegistrationInfo>& registration_info) override;
void Send(const std::string& app_id,
« no previous file with comments | « components/gcm_driver/crypto/gcm_encryption_provider.h ('k') | components/gcm_driver/fake_gcm_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698