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

Unified Diff: chrome/browser/media/media_stream_infobar_delegate.h

Issue 1164973003: Add initial support for runtime permissions in android M. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/media/media_stream_infobar_delegate.h
diff --git a/chrome/browser/media/media_stream_infobar_delegate.h b/chrome/browser/media/media_stream_infobar_delegate.h
index e055289b9bd156212015c1fe8b58db9a86bbe0b0..9e119f45bce3a16a8a8eeecf456196a9a5db40c5 100644
--- a/chrome/browser/media/media_stream_infobar_delegate.h
+++ b/chrome/browser/media/media_stream_infobar_delegate.h
@@ -30,6 +30,9 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback);
+ bool IsRequestingVideoAccess();
Peter Kasting 2015/06/04 07:08:13 Nit: Can these be const?
Ted C 2015/06/05 00:57:57 Done.
+ bool IsRequestingMicrophoneAccess();
+
private:
friend class WebRtcTestBase;

Powered by Google App Engine
This is Rietveld 408576698