OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Constants for use in the Framelet API. |
| 6 |
| 7 #ifndef COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_ |
| 8 #define COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_ |
| 9 |
| 10 namespace framelet { |
| 11 |
| 12 extern const char kEmbedderAPINamespace[]; |
| 13 extern const char kFocused[]; |
| 14 extern const char kVisible[]; |
| 15 |
| 16 // Memory usage thresholds |
| 17 extern const int kMemoryUsageLimitLow; |
| 18 extern const int kMemoryUsageLimitMedium; |
| 19 extern const int kMemoryUsageLimitHigh; |
| 20 extern const int kMemoryUsageRangeOverlap; |
| 21 |
| 22 // Resource monitoring |
| 23 extern const char kMonitorResources[]; |
| 24 |
| 25 // FrameletMemoryTracker |
| 26 extern const char kFrameletMemoryTrackerKeyName[]; |
| 27 } |
| 28 |
| 29 #endif // COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_ |
OLD | NEW |