Home | History | Annotate | Download | only in android
      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|.
     13 DEFINE_ACTIVITY_ID(NONE, 0)
     14 DEFINE_ACTIVITY_ID(UNKNOWN, 1)
     15 DEFINE_ACTIVITY_ID(MAIN, 2)
     16 DEFINE_ACTIVITY_ID(PREFERENCES, 3)
     17 DEFINE_ACTIVITY_ID(WEBAPPACTIVITY, 4)
     18 DEFINE_ACTIVITY_ID(FULLSCREENACTIVITY, 5)
     19 DEFINE_ACTIVITY_ID(MAX_VALUE, 6)
     20