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

Unified Diff: chrome/browser/permissions/permission_context_uma_util.cc

Issue 1311783007: refactor to Introduce AUDIO_CAPTURE and VIDEO_CAPTURE permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: chrome/browser/permissions/permission_context_uma_util.cc
diff --git a/chrome/browser/permissions/permission_context_uma_util.cc b/chrome/browser/permissions/permission_context_uma_util.cc
index 79ced9ec5ee25159de919096f1d94504c9a62291..035bd21e224df3b8d2b34f560e08c47a04876554 100644
--- a/chrome/browser/permissions/permission_context_uma_util.cc
+++ b/chrome/browser/permissions/permission_context_uma_util.cc
@@ -205,6 +205,10 @@ std::string PermissionTypeToString(PermissionType permission_type) {
return "DurableStorage";
case PermissionType::MIDI:
return "Midi";
+ case PermissionType::AUDIO_RECORDING:
+ return "AudioRecording";
+ case PermissionType::VIDEO_RECORDING:
+ return "VideoRecording";
case PermissionType::NUM:
break;
}

Powered by Google App Engine
This is Rietveld 408576698