1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_LIGHT_BAR_H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_LIGHT_BAR_H_
8 #include "base/files/file_path.h"
9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/dbus/power_manager_client.h"
14 // Flashes the light bar (on systems that have one) whenever the system comes up
16 class CHROMEOS_EXPORT LightBar : public PowerManagerClient::Observer {
21 // PowerManagerClient::Observer implementation.
22 virtual void DarkSuspendImminent() OVERRIDE;
25 // Path to control the light bar.
26 base::FilePath control_path_;
28 // True if the system has a light bar.
31 DISALLOW_COPY_AND_ASSIGN(LightBar);
34 } // namespace chromeos
36 #endif // CHROME_BROWSER_CHROMEOS_POWER_LIGHT_BAR_H_