| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 void SetProfile(Profile* profile); | 54 void SetProfile(Profile* profile); |
| 55 | 55 |
| 56 PowerPolicyController* power_policy_controller_; // Not owned. | 56 PowerPolicyController* power_policy_controller_; // Not owned. |
| 57 | 57 |
| 58 content::NotificationRegistrar notification_registrar_; | 58 content::NotificationRegistrar notification_registrar_; |
| 59 | 59 |
| 60 Profile* profile_; // Not owned. | 60 Profile* profile_; // Not owned. |
| 61 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; | 61 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; |
| 62 | 62 |
| 63 // True while the screen is locked (but not while the login screen is shown). |
| 64 bool screen_is_locked_; |
| 65 |
| 63 DISALLOW_COPY_AND_ASSIGN(PowerPrefs); | 66 DISALLOW_COPY_AND_ASSIGN(PowerPrefs); |
| 64 }; | 67 }; |
| 65 | 68 |
| 66 } // namespace chromeos | 69 } // namespace chromeos |
| 67 | 70 |
| 68 #endif // CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ | 71 #endif // CHROME_BROWSER_CHROMEOS_POWER_POWER_PREFS_H_ |
| OLD | NEW |