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

Unified Diff: components/display_compositor/display_compositor_features.cc

Issue 2811083002: Move frame eviction into components (Closed)
Patch Set: Created 3 years, 8 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
Index: components/display_compositor/display_compositor_features.cc
diff --git a/components/display_compositor/display_compositor_features.cc b/components/display_compositor/display_compositor_features.cc
new file mode 100644
index 0000000000000000000000000000000000000000..61c995d1255cd0510e9a9e525a88f506ff1198c9
--- /dev/null
+++ b/components/display_compositor/display_compositor_features.cc
@@ -0,0 +1,20 @@
+// Copyright 2017 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.
+
+#include "components/display_compositor/display_compositor_features.h"
+
+namespace display_compositor {
+
+namespace features {
+
+// Enables the memory coordinator.
+// WARNING:
+// The memory coordinator is not ready for use and enabling this may cause
+// unexpected memory regression at this point. Please do not enable this.
+const base::Feature kMemoryCoordinator{"MemoryCoordinator",
Saman Sami 2017/04/11 14:58:24 I wonder if this works properly? So if the feature
boliu 2017/04/11 15:37:29 The real problem here is that this is an implicit
xing.xu 2017/04/14 03:01:29 Done.
xing.xu 2017/04/14 03:01:29 Done.
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+} // namespace features
+
+} // namespace display_compositor

Powered by Google App Engine
This is Rietveld 408576698