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

Side by Side Diff: components/gcm_driver/gcm_client_impl.h

Issue 1627723002: Revert of List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/gcm_client.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 scoped_ptr<Encryptor> encryptor, 112 scoped_ptr<Encryptor> encryptor,
113 GCMClient::Delegate* delegate) override; 113 GCMClient::Delegate* delegate) override;
114 void Start(StartMode start_mode) override; 114 void Start(StartMode start_mode) override;
115 void Stop() override; 115 void Stop() override;
116 void Register(const linked_ptr<RegistrationInfo>& registration_info) override; 116 void Register(const linked_ptr<RegistrationInfo>& registration_info) override;
117 void Unregister( 117 void Unregister(
118 const linked_ptr<RegistrationInfo>& registration_info) override; 118 const linked_ptr<RegistrationInfo>& registration_info) override;
119 void Send(const std::string& app_id, 119 void Send(const std::string& app_id,
120 const std::string& receiver_id, 120 const std::string& receiver_id,
121 const OutgoingMessage& message) override; 121 const OutgoingMessage& message) override;
122 void RecordDecryptionFailure(const std::string& app_id,
123 GCMEncryptionProvider::DecryptionFailure reason)
124 override;
125 void SetRecording(bool recording) override; 122 void SetRecording(bool recording) override;
126 void ClearActivityLogs() override; 123 void ClearActivityLogs() override;
127 GCMStatistics GetStatistics() const override; 124 GCMStatistics GetStatistics() const override;
128 void SetAccountTokens( 125 void SetAccountTokens(
129 const std::vector<AccountTokenInfo>& account_tokens) override; 126 const std::vector<AccountTokenInfo>& account_tokens) override;
130 void UpdateAccountMapping(const AccountMapping& account_mapping) override; 127 void UpdateAccountMapping(const AccountMapping& account_mapping) override;
131 void RemoveAccountMapping(const std::string& account_id) override; 128 void RemoveAccountMapping(const std::string& account_id) override;
132 void SetLastTokenFetchTime(const base::Time& time) override; 129 void SetLastTokenFetchTime(const base::Time& time) override;
133 void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) override; 130 void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) override;
134 void AddInstanceIDData(const std::string& app_id, 131 void AddInstanceIDData(const std::string& app_id,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 374
378 // Factory for creating references in callbacks. 375 // Factory for creating references in callbacks.
379 base::WeakPtrFactory<GCMClientImpl> weak_ptr_factory_; 376 base::WeakPtrFactory<GCMClientImpl> weak_ptr_factory_;
380 377
381 DISALLOW_COPY_AND_ASSIGN(GCMClientImpl); 378 DISALLOW_COPY_AND_ASSIGN(GCMClientImpl);
382 }; 379 };
383 380
384 } // namespace gcm 381 } // namespace gcm
385 382
386 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_ 383 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_client.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698