Chromium Code Reviews| 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) |