Index: base/android/activity_state_list.h |
diff --git a/base/android/activity_state_list.h b/base/android/activity_state_list.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f6e938ce5d71fe8de5b7d0ffba39dfcfe24b7f77 |
--- /dev/null |
+++ b/base/android/activity_state_list.h |
@@ -0,0 +1,17 @@ |
+// 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. |
+#ifndef BASE_ANDROID_ACTIVITY_STATE_H |
+#define BASE_ANDROID_ACTIVITY_STATE_H |
joth
2013/04/29 16:41:24
yeah rather than add them I was more suggesting pu
|
+ |
+#ifndef DEFINE_ACTIVITY_STATE |
+#error "DEFINE_ACTIVITY_STATE should be defined before including this file" |
+#endif |
+DEFINE_ACTIVITY_STATE(CREATED, 1) |
+DEFINE_ACTIVITY_STATE(STARTED, 2) |
+DEFINE_ACTIVITY_STATE(RESUMED, 3) |
+DEFINE_ACTIVITY_STATE(PAUSED, 4) |
+DEFINE_ACTIVITY_STATE(STOPPED, 5) |
+DEFINE_ACTIVITY_STATE(DESTROYED, 6) |
+ |
+#endif // BASE_ANDROID_ACTIVITY_STATE_H |