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

Side by Side Diff: chrome/browser/media/android/remote/record_cast_action.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (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 #include "chrome/browser/media/android/remote/record_cast_action.h" 5 #include "chrome/browser/media/android/remote/record_cast_action.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "content/public/browser/user_metrics.h" 10 #include "content/public/browser/user_metrics.h"
11 #include "jni/RecordCastAction_jni.h" 11 #include "jni/RecordCastAction_jni.h"
12 #include "media/base/container_names.h" 12 #include "media/base/container_names.h"
13 13
14 using base::UserMetricsAction; 14 using base::UserMetricsAction;
15 using base::android::JavaParamRef; 15 using base::android::JavaParamRef;
16 using content::RecordAction; 16 using content::RecordAction;
17 17
18 namespace { 18 namespace {
19 19
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 UMA_HISTOGRAM_ENUMERATION("Cast.Sender.CastTimeRemainingPercentage", 103 UMA_HISTOGRAM_ENUMERATION("Cast.Sender.CastTimeRemainingPercentage",
104 percent_remaining, 101); 104 percent_remaining, 101);
105 } 105 }
106 106
107 // Register native methods 107 // Register native methods
108 bool RegisterRecordCastAction(JNIEnv* env) { 108 bool RegisterRecordCastAction(JNIEnv* env) {
109 return RegisterNativesImpl(env); 109 return RegisterNativesImpl(env);
110 } 110 }
111 111
112 } // namespace remote_media 112 } // namespace remote_media
OLDNEW
« no previous file with comments | « chrome/browser/mac/mac_startup_profiler.cc ('k') | chrome/browser/media/media_stream_devices_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698