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 "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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 bool FakeGCMDriver::IsStarted() const { | 44 bool FakeGCMDriver::IsStarted() const { |
45 return true; | 45 return true; |
46 } | 46 } |
47 | 47 |
48 bool FakeGCMDriver::IsConnected() const { | 48 bool FakeGCMDriver::IsConnected() const { |
49 return true; | 49 return true; |
50 } | 50 } |
51 | 51 |
52 void FakeGCMDriver::GetGCMStatistics(const GetGCMStatisticsCallback& callback, | 52 void FakeGCMDriver::GetGCMStatistics(const GetGCMStatisticsCallback& callback, |
53 bool clear_logs) { | 53 ClearActivityLogs clear_logs) { |
54 } | 54 } |
55 | 55 |
56 void FakeGCMDriver::SetGCMRecording(const GetGCMStatisticsCallback& callback, | 56 void FakeGCMDriver::SetGCMRecording(const GetGCMStatisticsCallback& callback, |
57 bool recording) { | 57 bool recording) { |
58 } | 58 } |
59 | 59 |
60 GCMClient::Result FakeGCMDriver::EnsureStarted( | 60 GCMClient::Result FakeGCMDriver::EnsureStarted( |
61 GCMClient::StartMode start_mode) { | 61 GCMClient::StartMode start_mode) { |
62 return GCMClient::SUCCESS; | 62 return GCMClient::SUCCESS; |
63 } | 63 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 100 } |
101 | 101 |
102 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, | 102 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, |
103 int interval_ms) { | 103 int interval_ms) { |
104 } | 104 } |
105 | 105 |
106 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { | 106 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { |
107 } | 107 } |
108 | 108 |
109 } // namespace gcm | 109 } // namespace gcm |
OLD | NEW |