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

Side by Side Diff: chrome/browser/android/feature_utilities.h

Issue 2331123002: Remove DocumentMode usage histogram. (Closed)
Patch Set: Created 4 years, 3 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_ 5 #ifndef CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
6 #define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_ 6 #define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 namespace chrome { 10 namespace chrome {
11 namespace android { 11 namespace android {
12 12
13 enum RunningModeHistogram {
14 RUNNING_MODE_DOCUMENT_MODE,
15 RUNNING_MODE_TABBED_MODE,
16 RUNNING_MODE_MAX
17 };
18
19 enum CustomTabsVisibilityHistogram { 13 enum CustomTabsVisibilityHistogram {
20 VISIBLE_CUSTOM_TAB, 14 VISIBLE_CUSTOM_TAB,
21 VISIBLE_CHROME_TAB, 15 VISIBLE_CHROME_TAB,
22 CUSTOM_TABS_VISIBILITY_MAX 16 CUSTOM_TABS_VISIBILITY_MAX
23 }; 17 };
24 18
25 RunningModeHistogram GetDocumentModeValue();
26
27 CustomTabsVisibilityHistogram GetCustomTabsVisibleValue(); 19 CustomTabsVisibilityHistogram GetCustomTabsVisibleValue();
28 20
29 bool GetIsInMultiWindowModeValue(); 21 bool GetIsInMultiWindowModeValue();
30 22
31 } // namespace android 23 } // namespace android
32 } // namespace chrome 24 } // namespace chrome
33 25
34 bool RegisterFeatureUtilities(JNIEnv* env); 26 bool RegisterFeatureUtilities(JNIEnv* env);
35 27
36 #endif // CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_ 28 #endif // CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698