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 #include "base/sequenced_task_runner.h" | 8 #include "base/sequenced_task_runner.h" |
9 | 9 |
10 namespace gcm { | 10 namespace gcm { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 return NULL; | 105 return NULL; |
106 } | 106 } |
107 | 107 |
108 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, | 108 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, |
109 int interval_ms) { | 109 int interval_ms) { |
110 } | 110 } |
111 | 111 |
112 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { | 112 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { |
113 } | 113 } |
114 | 114 |
| 115 void FakeGCMDriver::DoSendMessageReceipt(const MessageReceiptCallback& callback, |
| 116 GCMMessageStatus status) { |
| 117 callback.Run(status); |
| 118 } |
115 } // namespace gcm | 119 } // namespace gcm |
OLD | NEW |