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

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

Issue 15995014: Adds MemoryPressureListener. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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/MemoryPressureLevelList.template
diff --git a/base/android/java/src/org/chromium/base/MemoryPressureLevelList.template b/base/android/java/src/org/chromium/base/MemoryPressureLevelList.template
new file mode 100644
index 0000000000000000000000000000000000000000..90d1c58b9e3c63bcff4341410c4df06edeccf37b
--- /dev/null
+++ b/base/android/java/src/org/chromium/base/MemoryPressureLevelList.template
@@ -0,0 +1,12 @@
+// 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 MemoryPressureLevelList {
+#define DEFINE_MEMORY_PRESSURE_LEVEL(name, value) \
+ static final int name = value;
+#include "base/memory/memory_pressure_level_list.h"
+#undef DEFINE_MEMORY_PRESSURE_LEVEL
+}
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/java/src/org/chromium/base/MemoryPressureListener.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698