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" |
| 8 |
7 namespace gcm { | 9 namespace gcm { |
8 | 10 |
9 FakeGCMDriver::FakeGCMDriver() { | 11 FakeGCMDriver::FakeGCMDriver() |
| 12 : GCMDriver(base::FilePath(), nullptr) { |
10 } | 13 } |
11 | 14 |
12 FakeGCMDriver::~FakeGCMDriver() { | 15 FakeGCMDriver::~FakeGCMDriver() { |
13 } | 16 } |
14 | 17 |
15 void FakeGCMDriver::Shutdown() { | 18 void FakeGCMDriver::Shutdown() { |
16 } | 19 } |
17 | 20 |
18 void FakeGCMDriver::AddAppHandler( | 21 void FakeGCMDriver::AddAppHandler( |
19 const std::string& app_id, GCMAppHandler* handler) { | 22 const std::string& app_id, GCMAppHandler* handler) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 } | 106 } |
104 | 107 |
105 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, | 108 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, |
106 int interval_ms) { | 109 int interval_ms) { |
107 } | 110 } |
108 | 111 |
109 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { | 112 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { |
110 } | 113 } |
111 | 114 |
112 } // namespace gcm | 115 } // namespace gcm |
OLD | NEW |