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

Unified Diff: chrome/browser/chromeos/status/clock_updater.h

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/status/clock_updater.h
diff --git a/chrome/browser/chromeos/status/clock_updater.h b/chrome/browser/chromeos/status/clock_updater.h
deleted file mode 100644
index db75ea2b1b37dc5d9e665baa38192470151ad393..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/status/clock_updater.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_UPDATER_H_
-#define CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_UPDATER_H_
-#pragma once
-
-#include "chrome/browser/chromeos/system/timezone_settings.h"
-#include "chromeos/dbus/power_manager_client.h"
-
-class ClockMenuButton;
-
-// ClockUpdater is responsible for updating a ClockMenuButton when:
-// 1. the timezone changes.
-// 2. the system resumes from sleep.
-class ClockUpdater : public chromeos::system::TimezoneSettings::Observer,
- public chromeos::PowerManagerClient::Observer {
- public:
- explicit ClockUpdater(ClockMenuButton* button);
- virtual ~ClockUpdater();
-
- // TimezoneSettings::Observer overrides:
- virtual void TimezoneChanged(const icu::TimeZone& timezone) OVERRIDE;
-
- // PowerManagerClient::Observer overrides:
- virtual void SystemResumed() OVERRIDE;
-
- private:
- ClockMenuButton* button_;
-
- DISALLOW_COPY_AND_ASSIGN(ClockUpdater);
-};
-
-#endif // CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_UPDATER_H_
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | chrome/browser/chromeos/status/clock_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698