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

Unified Diff: chrome/browser/chromeos/status/timezone_clock_updater.cc

Issue 8500005: Reverting this as it breaks (at least) the Windows Aura build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/timezone_clock_updater.cc
===================================================================
--- chrome/browser/chromeos/status/timezone_clock_updater.cc (revision 110804)
+++ chrome/browser/chromeos/status/timezone_clock_updater.cc (working copy)
@@ -1,21 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "chrome/browser/chromeos/status/timezone_clock_updater.h"
-
-#include "chrome/browser/chromeos/status/clock_menu_button.h"
-#include "chrome/browser/chromeos/system/timezone_settings.h"
-
-TimezoneClockUpdater::TimezoneClockUpdater(ClockMenuButton* button)
- : button_(button) {
- chromeos::system::TimezoneSettings::GetInstance()->AddObserver(this);
-}
-
-TimezoneClockUpdater::~TimezoneClockUpdater() {
- chromeos::system::TimezoneSettings::GetInstance()->RemoveObserver(this);
-}
-
-void TimezoneClockUpdater::TimezoneChanged(const icu::TimeZone& timezone) {
- button_->UpdateText();
-}
« no previous file with comments | « chrome/browser/chromeos/status/timezone_clock_updater.h ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698