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

Unified Diff: chrome/browser/chromeos/power/output_observer.h

Issue 12992004: chromeos: Remove dead power manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 9 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/power/output_observer.h
diff --git a/chrome/browser/chromeos/power/output_observer.h b/chrome/browser/chromeos/power/output_observer.h
deleted file mode 100644
index da0b90ea82d12b9ff658fd6fc6872b2ba8853644..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/power/output_observer.h
+++ /dev/null
@@ -1,33 +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_POWER_OUTPUT_OBSERVER_H_
-#define CHROME_BROWSER_CHROMEOS_POWER_OUTPUT_OBSERVER_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chromeos/dbus/power_manager_client.h"
-
-namespace chromeos {
-
-// This observer listens for when video outputs have been turned off so that the
-// corresponding CRTCs can be disabled to force the connected output off.
-// TODO(derat): Remove this class after powerd is calling the method
-// exported by DisplayPowerServiceProvider instead.
-class OutputObserver : public PowerManagerClient::Observer {
- public:
- // This class registers/unregisters itself as an observer in ctor/dtor.
- OutputObserver();
- virtual ~OutputObserver();
-
- private:
- // PowerManagerClient::Observer implementation.
- virtual void ScreenPowerSet(bool power_on, bool all_displays) OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(OutputObserver);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_POWER_OUTPUT_OBSERVER_H_
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/power/output_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698