Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / android / appmenu / app_menu_drag_helper.cc
blob7d285d569d4cf51bdd1ac0bbe1e11c02c9dabe57
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 #include "base/metrics/histogram_macros.h"
6 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h"
7 #include "jni/AppMenuDragHelper_jni.h"
9 bool RegisterAppMenuDragHelper(JNIEnv* env) {
10 return RegisterNativesImpl(env);
13 // static
14 void RecordAppMenuTouchDuration(JNIEnv* env, jclass jcaller, jlong time_ms) {
15 UMA_HISTOGRAM_TIMES("WrenchMenu.TouchDuration",
16 base::TimeDelta::FromMilliseconds(time_ms));