OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chromeos/dbus/fake_system_clock_client.h" | 5 #include "chromeos/dbus/fake_system_clock_client.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 | 8 |
9 FakeSystemClockClient::FakeSystemClockClient() { | 9 FakeSystemClockClient::FakeSystemClockClient() { |
10 } | 10 } |
11 | 11 |
12 FakeSystemClockClient::~FakeSystemClockClient() { | 12 FakeSystemClockClient::~FakeSystemClockClient() { |
13 } | 13 } |
14 | 14 |
15 void FakeSystemClockClient::Init(dbus::Bus* bus) { | 15 void FakeSystemClockClient::Init(dbus::Bus* bus) { |
16 } | 16 } |
17 | 17 |
18 void FakeSystemClockClient::AddObserver(Observer* observer) { | 18 void FakeSystemClockClient::AddObserver(Observer* observer) { |
19 } | 19 } |
20 | 20 |
21 void FakeSystemClockClient::RemoveObserver(Observer* observer) { | 21 void FakeSystemClockClient::RemoveObserver(Observer* observer) { |
22 } | 22 } |
23 | 23 |
24 bool FakeSystemClockClient::HasObserver(Observer* observer) { | 24 bool FakeSystemClockClient::HasObserver(Observer* observer) { |
25 return false; | 25 return false; |
26 } | 26 } |
27 | 27 |
| 28 void FakeSystemClockClient::SetTime(int64 time_in_seconds) { |
| 29 } |
| 30 |
| 31 bool FakeSystemClockClient::CanSetTime() { |
| 32 return true; |
| 33 } |
| 34 |
28 } // namespace chromeos | 35 } // namespace chromeos |
OLD | NEW |