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

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

Issue 1616113003: List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after CL 1619053003 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/fake_gcm_client.cc ('k') | components/gcm_driver/fake_gcm_driver.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_FAKE_GCM_DRIVER_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ 6 #define COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/gcm_driver/gcm_driver.h" 10 #include "components/gcm_driver/gcm_driver.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 protected: 47 protected:
48 // GCMDriver implementation: 48 // GCMDriver implementation:
49 GCMClient::Result EnsureStarted( 49 GCMClient::Result EnsureStarted(
50 GCMClient::StartMode start_mode) override; 50 GCMClient::StartMode start_mode) override;
51 void RegisterImpl(const std::string& app_id, 51 void RegisterImpl(const std::string& app_id,
52 const std::vector<std::string>& sender_ids) override; 52 const std::vector<std::string>& sender_ids) override;
53 void UnregisterImpl(const std::string& app_id) override; 53 void UnregisterImpl(const std::string& app_id) override;
54 void SendImpl(const std::string& app_id, 54 void SendImpl(const std::string& app_id,
55 const std::string& receiver_id, 55 const std::string& receiver_id,
56 const OutgoingMessage& message) override; 56 const OutgoingMessage& message) override;
57 void RecordDecryptionFailure(const std::string& app_id,
58 GCMEncryptionProvider::DecryptionFailure reason)
59 override;
57 60
58 private: 61 private:
59 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver); 62 DISALLOW_COPY_AND_ASSIGN(FakeGCMDriver);
60 }; 63 };
61 64
62 } // namespace gcm 65 } // namespace gcm
63 66
64 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_ 67 #endif // COMPONENTS_GCM_DRIVER_FAKE_GCM_DRIVER_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/fake_gcm_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698