Chromium Code Reviews| 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 | 9 |
| 9 namespace gcm { | 10 namespace gcm { |
| 10 | 11 |
| 11 FakeGCMDriver::FakeGCMDriver() : GCMDriver(base::FilePath(), nullptr) { | 12 FakeGCMDriver::FakeGCMDriver() : GCMDriver(base::FilePath(), nullptr) { |
|
gab
2016/10/28 20:32:23
The include above is tricky as initially the const
| |
| 12 } | 13 } |
| 13 | 14 |
| 14 FakeGCMDriver::FakeGCMDriver( | 15 FakeGCMDriver::FakeGCMDriver( |
| 15 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner) | 16 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner) |
| 16 : GCMDriver(base::FilePath(), blocking_task_runner) { | 17 : GCMDriver(base::FilePath(), blocking_task_runner) { |
| 17 } | 18 } |
| 18 | 19 |
| 19 FakeGCMDriver::~FakeGCMDriver() { | 20 FakeGCMDriver::~FakeGCMDriver() { |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 } | 106 } |
| 106 | 107 |
| 107 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, | 108 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, |
| 108 int interval_ms) { | 109 int interval_ms) { |
| 109 } | 110 } |
| 110 | 111 |
| 111 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { | 112 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { |
| 112 } | 113 } |
| 113 | 114 |
| 114 } // namespace gcm | 115 } // namespace gcm |
| OLD | NEW |