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

Unified Diff: base/android/activity_state_list.h

Issue 14373019: Add base/android/activity_status.cc (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address Marcus' nits + formatting Created 7 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
« no previous file with comments | « no previous file | base/android/activity_status.h » ('j') | base/android/activity_status.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ade621b8e59f2daac66d831566a2d2b674e76f04
--- /dev/null
+++ b/base/android/activity_state_list.h
@@ -0,0 +1,13 @@
+// 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.
+
joth 2013/04/26 20:29:10 there's some standard "no mutliple include guard"
digit1 2013/04/29 12:22:10 I've added them, but generally speaking this kind
+#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)
« no previous file with comments | « no previous file | base/android/activity_status.h » ('j') | base/android/activity_status.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698