1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
6#define CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
7
8// This file maps Activities on Chrome to specific flags for identification.
9
10namespace ActivityTypeIds {
11
12enum Type {
13#define DEFINE_ACTIVITY_ID(id,value) ACTIVITY_##id = (value),
14#include "activity_type_id_list.h"
15#undef DEFINE_ACTIVITY_ID
16};  // enum Type
17
18// Takes an int corresponding to a Type and returns the corresponding Type.
19Type GetActivityType(int type_id);
20
21}  // namespace ActivityTypeIds
22
23#endif  // CHROME_BROWSER_ANDROID_ACTIVITY_TYPE_IDS_H_
24