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

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

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_driver.h ('k') | components/gcm_driver/gcm_activity.h » ('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 #include "components/gcm_driver/fake_gcm_driver.h" 5 #include "components/gcm_driver/fake_gcm_driver.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 namespace gcm { 9 namespace gcm {
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 void FakeGCMDriver::UnregisterImpl(const std::string& app_id) { 69 void FakeGCMDriver::UnregisterImpl(const std::string& app_id) {
70 } 70 }
71 71
72 void FakeGCMDriver::SendImpl(const std::string& app_id, 72 void FakeGCMDriver::SendImpl(const std::string& app_id,
73 const std::string& receiver_id, 73 const std::string& receiver_id,
74 const OutgoingMessage& message) { 74 const OutgoingMessage& message) {
75 } 75 }
76 76
77 void FakeGCMDriver::RecordDecryptionFailure(
78 const std::string& app_id,
79 GCMEncryptionProvider::DecryptionFailure reason) {
80 }
81
77 void FakeGCMDriver::SetAccountTokens( 82 void FakeGCMDriver::SetAccountTokens(
78 const std::vector<GCMClient::AccountTokenInfo>& account_tokens) { 83 const std::vector<GCMClient::AccountTokenInfo>& account_tokens) {
79 } 84 }
80 85
81 void FakeGCMDriver::UpdateAccountMapping( 86 void FakeGCMDriver::UpdateAccountMapping(
82 const AccountMapping& account_mapping) { 87 const AccountMapping& account_mapping) {
83 } 88 }
84 89
85 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) { 90 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) {
86 } 91 }
(...skipping 13 matching lines...) Expand all
100 } 105 }
101 106
102 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 107 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
103 int interval_ms) { 108 int interval_ms) {
104 } 109 }
105 110
106 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 111 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
107 } 112 }
108 113
109 } // namespace gcm 114 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698