Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / android / feature_utilities.h
blob5ead288567f419351eb70a49e9a96528958522b3
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.
5 #ifndef CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
6 #define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
8 #include <jni.h>
10 namespace chrome {
11 namespace android {
13 enum RunningModeHistogram {
14 RUNNING_MODE_DOCUMENT_MODE,
15 RUNNING_MODE_TABBED_MODE,
16 RUNNING_MODE_MAX
19 enum CustomTabsVisibilityHistogram {
20 VISIBLE_CUSTOM_TAB,
21 VISIBLE_CHROME_TAB,
22 CUSTOM_TABS_VISIBILITY_MAX
25 RunningModeHistogram GetDocumentModeValue();
27 CustomTabsVisibilityHistogram GetCustomTabsVisibleValue();
29 } // namespace android
30 } // namespace chrome
32 bool RegisterFeatureUtilities(JNIEnv* env);
34 #endif // CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_