Home | History | Annotate | Download | only in dbus
      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.
      4 
      5 #include "chromeos/dbus/fake_system_clock_client.h"
      6 
      7 namespace chromeos {
      8 
      9 FakeSystemClockClient::FakeSystemClockClient() {
     10 }
     11 
     12 FakeSystemClockClient::~FakeSystemClockClient() {
     13 }
     14 
     15 void FakeSystemClockClient::Init(dbus::Bus* bus) {
     16 }
     17 
     18 void FakeSystemClockClient::AddObserver(Observer* observer) {
     19 }
     20 
     21 void FakeSystemClockClient::RemoveObserver(Observer* observer) {
     22 }
     23 
     24 bool FakeSystemClockClient::HasObserver(Observer* observer) {
     25   return false;
     26 }
     27 
     28 void FakeSystemClockClient::SetTime(int64 time_in_seconds) {
     29 }
     30 
     31 bool FakeSystemClockClient::CanSetTime() {
     32   return true;
     33 }
     34 
     35 } // namespace chromeos
     36