OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ | 5 #ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ |
6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ | 6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 static PowerSaveBlockerType HighestBlockType(); | 46 static PowerSaveBlockerType HighestBlockType(); |
47 | 47 |
48 PowerSaveBlockerType type_; | 48 PowerSaveBlockerType type_; |
49 | 49 |
50 static int blocker_count_[]; | 50 static int blocker_count_[]; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlocker); | 52 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlocker); |
53 }; | 53 }; |
54 | 54 |
55 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ | 55 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ |
| 56 |
OLD | NEW |