| OLD | NEW |
| 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 "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h" | 5 #include "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h" |
| 6 | 6 |
| 7 namespace gcm { | 7 namespace gcm { |
| 8 | 8 |
| 9 FakeGCMStatsRecorder::FakeGCMStatsRecorder() { | 9 FakeGCMStatsRecorder::FakeGCMStatsRecorder() { |
| 10 } | 10 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) { | 38 void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) { |
| 39 } | 39 } |
| 40 | 40 |
| 41 void FakeGCMStatsRecorder::RecordConnectionResetSignaled( | 41 void FakeGCMStatsRecorder::RecordConnectionResetSignaled( |
| 42 ConnectionFactory::ConnectionResetReason reason) { | 42 ConnectionFactory::ConnectionResetReason reason) { |
| 43 } | 43 } |
| 44 | 44 |
| 45 void FakeGCMStatsRecorder::RecordRegistrationSent( | 45 void FakeGCMStatsRecorder::RecordRegistrationSent( |
| 46 const std::string& app_id, | 46 const std::string& app_id, |
| 47 const std::string& sender_ids) { | 47 const std::string& senders) { |
| 48 } | 48 } |
| 49 | 49 |
| 50 void FakeGCMStatsRecorder::RecordRegistrationResponse( | 50 void FakeGCMStatsRecorder::RecordRegistrationResponse( |
| 51 const std::string& app_id, | 51 const std::string& app_id, |
| 52 const std::vector<std::string>& sender_ids, | 52 const std::string& senders, |
| 53 RegistrationRequest::Status status) { | 53 RegistrationRequest::Status status) { |
| 54 } | 54 } |
| 55 | 55 |
| 56 void FakeGCMStatsRecorder::RecordRegistrationRetryRequested( | 56 void FakeGCMStatsRecorder::RecordRegistrationRetryRequested( |
| 57 const std::string& app_id, | 57 const std::string& app_id, |
| 58 const std::vector<std::string>& sender_ids, | 58 const std::string& senders, |
| 59 int retries_left) { | 59 int retries_left) { |
| 60 } | 60 } |
| 61 | 61 |
| 62 void FakeGCMStatsRecorder::RecordUnregistrationSent( | 62 void FakeGCMStatsRecorder::RecordUnregistrationSent( |
| 63 const std::string& app_id) { | 63 const std::string& app_id) { |
| 64 } | 64 } |
| 65 | 65 |
| 66 void FakeGCMStatsRecorder::RecordUnregistrationResponse( | 66 void FakeGCMStatsRecorder::RecordUnregistrationResponse( |
| 67 const std::string& app_id, | 67 const std::string& app_id, |
| 68 UnregistrationRequest::Status status) { | 68 UnregistrationRequest::Status status) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 98 } | 98 } |
| 99 | 99 |
| 100 void FakeGCMStatsRecorder::RecordIncomingSendError( | 100 void FakeGCMStatsRecorder::RecordIncomingSendError( |
| 101 const std::string& app_id, | 101 const std::string& app_id, |
| 102 const std::string& receiver_id, | 102 const std::string& receiver_id, |
| 103 const std::string& message_id) { | 103 const std::string& message_id) { |
| 104 } | 104 } |
| 105 | 105 |
| 106 | 106 |
| 107 } // namespace gcm | 107 } // namespace gcm |
| OLD | NEW |