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

Unified Diff: components/framelet/common/framelet_constants.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/framelet/common/framelet.mojom ('k') | components/framelet/common/framelet_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/framelet/common/framelet_constants.h
diff --git a/components/framelet/common/framelet_constants.h b/components/framelet/common/framelet_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..1e37461db1419a746e644072982a645e62622702
--- /dev/null
+++ b/components/framelet/common/framelet_constants.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Constants for use in the Framelet API.
+
+#ifndef COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_
+#define COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_
+
+namespace framelet {
+
+extern const char kEmbedderAPINamespace[];
+extern const char kFocused[];
+extern const char kVisible[];
+
+// Memory usage thresholds
+extern const int kMemoryUsageLimitLow;
+extern const int kMemoryUsageLimitMedium;
+extern const int kMemoryUsageLimitHigh;
+extern const int kMemoryUsageRangeOverlap;
+
+// Resource monitoring
+extern const char kMonitorResources[];
+
+// FrameletMemoryTracker
+extern const char kFrameletMemoryTrackerKeyName[];
+}
+
+#endif // COMPONENTS_FRAMELET_COMMON_FRAMELET_CONSTANTS_H_
« no previous file with comments | « components/framelet/common/framelet.mojom ('k') | components/framelet/common/framelet_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698