Fix compilation error triggered with -Werror=sign-compare
[chromium-blink-merge.git] / chromeos / dbus / fake_system_clock_client.cc
blobc744bdd0f2ae4211c5c13f354ee59f680a6105ea
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(Observer* observer) {
25 return false;
28 void FakeSystemClockClient::SetTime(int64 time_in_seconds) {
31 bool FakeSystemClockClient::CanSetTime() {
32 return true;
35 } // namespace chromeos