| Index: content/public/android/java/src/org/chromium/content/browser/input/InputMethodUma.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/input/InputMethodUma.java b/content/public/android/java/src/org/chromium/content/browser/input/InputMethodUma.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..01673d1ace5ad2f1f084b768ce9c80bacf56fa0c
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/input/InputMethodUma.java
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 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.
|
| +
|
| +package org.chromium.content.browser.input;
|
| +
|
| +/**
|
| + * A class to define constants for input method UMAs.
|
| + * Note that these values should be cross-checked against tools/metrics/histograms/histograms.xml.
|
| + */
|
| +class InputMethodUma {
|
| + static final String UMA_REGISTER_PROXYVIEW = "InputMethod.RegisterProxyView";
|
| + static final int UMA_PROXYVIEW_SUCCESS = 0;
|
| + static final int UMA_PROXYVIEW_FAILURE = 1;
|
| + static final int UMA_PROXYVIEW_DETECTION_FAILURE = 2;
|
| + static final int UMA_PROXYVIEW_REPLICA_INPUT_CONNECTION = 3;
|
| + static final int UMA_PROXYVIEW_COUNT = 4;
|
| +}
|
|
|