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

Unified Diff: base/android/java/src/org/chromium/base/MemoryPressureList.template

Issue 15995014: Adds MemoryPressureListener. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Joth's comments Created 7 years, 6 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: base/android/java/src/org/chromium/base/MemoryPressureList.template
diff --git a/base/android/java/src/org/chromium/base/MemoryPressureList.template b/base/android/java/src/org/chromium/base/MemoryPressureList.template
new file mode 100644
index 0000000000000000000000000000000000000000..22342a83bbde961373c92616db08d088533f7f67
--- /dev/null
+++ b/base/android/java/src/org/chromium/base/MemoryPressureList.template
@@ -0,0 +1,11 @@
+// Copyright (c) 2013 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.
+
+package org.chromium.base;
+
+class MemoryPressureList {
+#define DEFINE_MEMORY_PRESSURE_TYPE(name, value) \
+ static final int name = value;
+#include "base/memory/memory_pressure_handler_list.h"
+}

Powered by Google App Engine
This is Rietveld 408576698