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

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

Issue 159173002: Refactor ActivityStatus to not store current activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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/ApplicationState.template
diff --git a/base/android/java/src/org/chromium/base/ApplicationState.template b/base/android/java/src/org/chromium/base/ApplicationState.template
new file mode 100644
index 0000000000000000000000000000000000000000..892c05503814704d5d0d4298dfd2ba63d4de04bf
--- /dev/null
+++ b/base/android/java/src/org/chromium/base/ApplicationState.template
@@ -0,0 +1,14 @@
+// Copyright 2014 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;
+
+// A simple auto-generated interface used to list the various
+// states of an application as used by both org.chromium.base.ApplicationStatus
+// and base/android/application_status.h
+public interface ApplicationState {
+#define DEFINE_APPLICATION_STATE(x,y) public final int x = y;
+#include "base/android/application_state_list.h"
+#undef DEFINE_APPLICATION_STATE
+}

Powered by Google App Engine
This is Rietveld 408576698