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

Unified Diff: ash/common/system/chromeos/system_clock_observer.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 10 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
Index: ash/common/system/chromeos/system_clock_observer.h
diff --git a/ash/common/system/chromeos/system_clock_observer.h b/ash/common/system/chromeos/system_clock_observer.h
deleted file mode 100644
index 639f0082b794aac6d99ad1dfe0048e31ce343af7..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/system_clock_observer.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 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.
-
-#ifndef ASH_COMMON_SYSTEM_CHROMEOS_SYSTEM_CLOCK_OBSERVER_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_SYSTEM_CLOCK_OBSERVER_H_
-
-#include "base/macros.h"
-#include "chromeos/dbus/system_clock_client.h"
-#include "chromeos/settings/timezone_settings.h"
-
-namespace ash {
-
-class SystemClockObserver
- : public chromeos::SystemClockClient::Observer,
- public chromeos::system::TimezoneSettings::Observer {
- public:
- SystemClockObserver();
- ~SystemClockObserver() override;
-
- // chromeos::SystemClockClient::Observer
- void SystemClockUpdated() override;
- void SystemClockCanSetTimeChanged(bool can_set_time) override;
-
- // chromeos::system::TimezoneSettings::Observer
- void TimezoneChanged(const icu::TimeZone& timezone) override;
-
- bool can_set_time() { return can_set_time_; }
-
- private:
- bool can_set_time_;
-
- DISALLOW_COPY_AND_ASSIGN(SystemClockObserver);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_SYSTEM_CLOCK_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698