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

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

Issue 823703004: Tracking push events for lucid sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kill renderer if it sends a bad message id Created 5 years, 11 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/light_bar.h
diff --git a/chrome/browser/chromeos/power/light_bar.h b/chrome/browser/chromeos/power/light_bar.h
deleted file mode 100644
index 9641fbfde696d5b532a7a482dfd26f642b6d95f7..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/power/light_bar.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 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_LIGHT_BAR_H_
-#define CHROME_BROWSER_CHROMEOS_POWER_LIGHT_BAR_H_
-
-#include "base/files/file_path.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/power_manager_client.h"
-
-namespace chromeos {
-
-// Flashes the light bar (on systems that have one) whenever the system comes up
-// in dark resume.
-class CHROMEOS_EXPORT LightBar : public PowerManagerClient::Observer {
- public:
- LightBar();
- ~LightBar() override;
-
- // PowerManagerClient::Observer implementation.
- void DarkSuspendImminent() override;
-
- private:
- // Path to control the light bar.
- base::FilePath control_path_;
-
- // True if the system has a light bar.
- bool has_light_bar_;
-
- DISALLOW_COPY_AND_ASSIGN(LightBar);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_POWER_LIGHT_BAR_H_

Powered by Google App Engine
This is Rietveld 408576698