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

Side by Side Diff: components/framelet/common/framelet_constants.cc

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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
OLDNEW
(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
OLDNEW
« no previous file with comments | « components/framelet/common/framelet_constants.h ('k') | components/framelet/common/framelet_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698