Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1766)

Unified Diff: chrome/browser/android/activity_type_ids_definitions.h

Issue 103943006: Let MetricsService know about some Android Activities (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NOTREACHED Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/activity_type_ids_definitions.h
diff --git a/chrome/browser/android/activity_type_ids_definitions.h b/chrome/browser/android/activity_type_ids_definitions.h
new file mode 100644
index 0000000000000000000000000000000000000000..0152125d6f651e924b29bbe8283ab77f232d761e
--- /dev/null
+++ b/chrome/browser/android/activity_type_ids_definitions.h
@@ -0,0 +1,16 @@
+// 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.
+
+// This file is explicitly not #ifdefed because it gets included twice in C++ to
+// create the two different Enums.
+
+#ifndef DEFINE_ACTIVITY_TYPE_ID
+#error "DEFINE_ACTIVITY_TYPE_ID should be defined before including this file"
+#endif // DEFINE_ACTIVITY_TYPE_ID
+
+// Define Activities we are interested in tracking.
+DEFINE_ACTIVITY_TYPE_ID(NONE, 0)
+DEFINE_ACTIVITY_TYPE_ID(MAIN, 1)
+DEFINE_ACTIVITY_TYPE_ID(FULLSCREEN, 2)
+DEFINE_ACTIVITY_TYPE_ID(MAX_VALUE, 3)

Powered by Google App Engine
This is Rietveld 408576698