Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: chromeos/dbus/fake_system_clock_client.cc

Issue 247663003: Date and Time dialog for when the clock isn't synced. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, single quotes in browsertest js Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/fake_system_clock_client.h ('k') | chromeos/dbus/system_clock_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_system_clock_client.h ('k') | chromeos/dbus/system_clock_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698