OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // ~Delegate() {} | 53 // ~Delegate() {} |
55 // }; | 54 // }; |
56 scoped_refptr<Delegate> delegate_; | 55 scoped_refptr<Delegate> delegate_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlocker); | 57 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlocker); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace content | 60 } // namespace content |
62 | 61 |
63 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ | 62 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_H_ |
OLD | NEW |