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

Unified Diff: chromeos/dbus/system_clock_client.h

Issue 2236713002: chromeos: Don't spam logs with tlsdate D-Bus errors at boot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update for only being notified once about availability Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/system_clock_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/system_clock_client.h
diff --git a/chromeos/dbus/system_clock_client.h b/chromeos/dbus/system_clock_client.h
index 98a48929f30d775ef1c456c6f75552ef769fb5e3..fbfe309846c067081a250bb1e2e210b9e7e1527d 100644
--- a/chromeos/dbus/system_clock_client.h
+++ b/chromeos/dbus/system_clock_client.h
@@ -21,18 +21,16 @@ class CHROMEOS_EXPORT SystemClockClient : public DBusClient {
class Observer {
public:
// Called when the status is updated.
- virtual void SystemClockUpdated();
+ virtual void SystemClockUpdated() {}
- // Called when the system clock has become settable or unsettable, e.g.,
+ // Called when the system clock has become settable or unsettable, e.g.
// when the clock syncs with or goes out of sync with the network.
- virtual void SystemClockCanSetTimeChanged(bool can_set_time);
+ virtual void SystemClockCanSetTimeChanged(bool can_set_time) {}
protected:
virtual ~Observer() {}
};
- ~SystemClockClient() override;
-
// Adds the given observer.
virtual void AddObserver(Observer* observer) = 0;
// Removes the given observer if this object has the observer.
« no previous file with comments | « no previous file | chromeos/dbus/system_clock_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698