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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/audio_renderer_host.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host.cc b/content/browser/renderer_host/media/audio_renderer_host.cc
index 68be4e29559d237979acede277f2368739c8cecd..2e840f73184552caeb6f1d34861362882e7157cc 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host.cc
@@ -35,7 +35,7 @@ namespace content {
namespace {
-void UMALogDeviceAuthorizationTime(base::TimeTicks auth_start_time) {
+void UMALogAudioDeviceAuthorizationTime(base::TimeTicks auth_start_time) {
UMA_HISTOGRAM_CUSTOM_TIMES("Media.Audio.OutputDeviceAuthorizationTime",
base::TimeTicks::Now() - auth_start_time,
base::TimeDelta::FromMilliseconds(1),
@@ -206,7 +206,7 @@ void AudioRendererHost::AuthorizationCompleted(
if (auth_data == authorizations_.end())
return; // Stream was closed before finishing authorization
- UMALogDeviceAuthorizationTime(auth_start_time);
+ UMALogAudioDeviceAuthorizationTime(auth_start_time);
if (status == media::OUTPUT_DEVICE_STATUS_OK) {
auth_data->second.first = true;
auth_data->second.second = raw_device_id;

Powered by Google App Engine
This is Rietveld 408576698