Roll src/third_party/WebKit f0fc3a1:b92951d (svn 201688:201689)
[chromium-blink-merge.git] / chromeos / dbus / fake_system_clock_client.cc
blobb2ee3c6d463ae45d3eec2314ec00d62b99546c6e
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
3 // found in the LICENSE file.
5 #include "chromeos/dbus/fake_system_clock_client.h"
7 namespace chromeos {
9 FakeSystemClockClient::FakeSystemClockClient() {
12 FakeSystemClockClient::~FakeSystemClockClient() {
15 void FakeSystemClockClient::Init(dbus::Bus* bus) {
18 void FakeSystemClockClient::AddObserver(Observer* observer) {
21 void FakeSystemClockClient::RemoveObserver(Observer* observer) {
24 bool FakeSystemClockClient::HasObserver(const Observer* observer) const {
25 return false;
28 void FakeSystemClockClient::SetTime(int64 time_in_seconds) {
31 bool FakeSystemClockClient::CanSetTime() {
32 return true;
35 } // namespace chromeos