| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef ThermalManager_DEFINED | 8 #ifndef ThermalManager_DEFINED |
| 9 #define ThermalManager_DEFINED | 9 #define ThermalManager_DEFINED |
| 10 | 10 |
| 11 #include "../private/SkTArray.h" |
| 11 #include "SkString.h" | 12 #include "SkString.h" |
| 12 #include "SkTArray.h" | |
| 13 | 13 |
| 14 #if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_UNIX) | 14 #if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_UNIX) |
| 15 # define THERMAL_MANAGER_SUPPORTED | 15 # define THERMAL_MANAGER_SUPPORTED |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #ifdef THERMAL_MANAGER_SUPPORTED | 18 #ifdef THERMAL_MANAGER_SUPPORTED |
| 19 | 19 |
| 20 /* | 20 /* |
| 21 * This simple class monitors the thermal part of sysfs to ensure we don't trigg
er thermal events | 21 * This simple class monitors the thermal part of sysfs to ensure we don't trigg
er thermal events |
| 22 */ | 22 */ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 52 // negative numbers. | 52 // negative numbers. |
| 53 bool fDisabled; | 53 bool fDisabled; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 SkTArray<TripPoint> fTripPoints; | 56 SkTArray<TripPoint> fTripPoints; |
| 57 uint32_t fSleepIntervalMs; | 57 uint32_t fSleepIntervalMs; |
| 58 uint32_t fTimeoutMs; | 58 uint32_t fTimeoutMs; |
| 59 }; | 59 }; |
| 60 #endif | 60 #endif |
| 61 #endif | 61 #endif |
| OLD | NEW |