summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_system_clock_client.cc
blob: b2ee3c6d463ae45d3eec2314ec00d62b99546c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chromeos/dbus/fake_system_clock_client.h"

namespace chromeos {

FakeSystemClockClient::FakeSystemClockClient() {
}

FakeSystemClockClient::~FakeSystemClockClient() {
}

void FakeSystemClockClient::Init(dbus::Bus* bus) {
}

void FakeSystemClockClient::AddObserver(Observer* observer) {
}

void FakeSystemClockClient::RemoveObserver(Observer* observer) {
}

bool FakeSystemClockClient::HasObserver(const Observer* observer) const {
  return false;
}

void FakeSystemClockClient::SetTime(int64 time_in_seconds) {
}

bool FakeSystemClockClient::CanSetTime() {
  return true;
}

} // namespace chromeos