Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: tools/ThermalManager.h

Issue 1702073002: Move SkTArray to include/private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix kilobench. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ports/SkFontConfigInterface_direct.cpp ('k') | tools/flags/SkCommandLineFlags.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/ports/SkFontConfigInterface_direct.cpp ('k') | tools/flags/SkCommandLineFlags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698