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 #include "components/framelet/common/framelet_constants.h" |
| 6 |
| 7 namespace framelet { |
| 8 |
| 9 const char kEmbedderAPINamespace[] = "frameletInternal"; |
| 10 const char kFocused[] = "focused"; |
| 11 const char kVisible[] = "visible"; |
| 12 |
| 13 // Memory usage thresholds |
| 14 const int kMemoryUsageLimitLow = 1 << 20; |
| 15 const int kMemoryUsageLimitMedium = kMemoryUsageLimitLow << 1; |
| 16 const int kMemoryUsageLimitHigh = kMemoryUsageLimitLow << 2; |
| 17 const int kMemoryUsageRangeOverlap = kMemoryUsageLimitLow >> 10; |
| 18 |
| 19 // Resource monitoring |
| 20 const char kMonitorResources[] = "monitorResources"; |
| 21 |
| 22 // FrameletMemoryTracker |
| 23 const char kFrameletMemoryTrackerKeyName[] = "framelet_memory_tracker"; |
| 24 |
| 25 } // namespace framelet |
OLD | NEW |