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// Intentionally no include guards because this file is meant to be included
6// inside a macro to generate enum values.
7
8// Define Activities we are interested in tracking.  IDs are assigned
9// consecutively, from NONE to MAX_VALUE.  Activities that are not explicitly
10// defined are all assigned the UNKNOWN value.  When adding new ones, make sure
11// to append them after current Activities and to update the |AndroidActivityId|
12// enum in |histograms.xml|.
13DEFINE_ACTIVITY_ID(NONE, 0)
14DEFINE_ACTIVITY_ID(UNKNOWN, 1)
15DEFINE_ACTIVITY_ID(MAIN, 2)
16DEFINE_ACTIVITY_ID(PREFERENCES, 3)
17DEFINE_ACTIVITY_ID(WEBAPPACTIVITY, 4)
18DEFINE_ACTIVITY_ID(FULLSCREENACTIVITY, 5)
19DEFINE_ACTIVITY_ID(MAX_VALUE, 6)
20