blob: 5ead288567f419351eb70a49e9a96528958522b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright 2014 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.
#ifndef CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
#define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
#include <jni.h>
namespace chrome {
namespace android {
enum RunningModeHistogram {
RUNNING_MODE_DOCUMENT_MODE,
RUNNING_MODE_TABBED_MODE,
RUNNING_MODE_MAX
};
enum CustomTabsVisibilityHistogram {
VISIBLE_CUSTOM_TAB,
VISIBLE_CHROME_TAB,
CUSTOM_TABS_VISIBILITY_MAX
};
RunningModeHistogram GetDocumentModeValue();
CustomTabsVisibilityHistogram GetCustomTabsVisibleValue();
} // namespace android
} // namespace chrome
bool RegisterFeatureUtilities(JNIEnv* env);
#endif // CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
|