| Index: chrome/browser/android/activity_type_ids.h
|
| diff --git a/chrome/browser/android/activity_type_ids.h b/chrome/browser/android/activity_type_ids.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b28ff8830035eac59f9cd914fbd42290b335312
|
| --- /dev/null
|
| +++ b/chrome/browser/android/activity_type_ids.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 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 CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
|
| +#define CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
|
| +
|
| +// This file maps Activities on Chrome to specific flags for identification.
|
| +namespace ActivityTypeIds {
|
| +
|
| +// Consecutive IDs assigned to Activity types on Android.
|
| +enum Type {
|
| +#define DEFINE_ACTIVITY_TYPE_ID(id,value) ACTIVITY_TYPE_##id = (value),
|
| +#include "chrome/browser/android/activity_type_ids_definitions.h"
|
| +#undef DEFINE_ACTIVITY_TYPE_ID
|
| +}; // enum Type
|
| +
|
| +// Flags defining Activities we are interested in tracking. Uses powers of 2
|
| +// for any IDs since these get ORed together.
|
| +enum Flag {
|
| +#define DEFINE_ACTIVITY_TYPE_ID(id,value) ACTIVITY_FLAG_##id = (1 << (value)),
|
| +#include "chrome/browser/android/activity_type_ids_definitions.h"
|
| +#undef DEFINE_ACTIVITY_TYPE_ID
|
| +}; // enum Flags
|
| +
|
| +} // namespace ActivityTypeIds
|
| +
|
| +#endif // CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
|
|
|