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

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

Issue 1362803002: Add logic to resolve permission mismatches in Android M for webrtc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add blankline Created 5 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 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 9bf55d7f570033458a942c569581d65a91d4a8e4..0d63d0e27af15d30de6674463bac61e97b236cfe 100644
--- a/chrome/browser/media/media_stream_infobar_delegate.h
+++ b/chrome/browser/media/media_stream_infobar_delegate.h
@@ -21,14 +21,12 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
~MediaStreamInfoBarDelegate() override;
- // Handles a permission request (in |request|) for |web_contents|. If this
- // involves prompting the user, creates a media stream infobar and delegate,
+ // Prompts the user by creating a media stream infobar and delegate,
// then checks for an existing infobar for |web_contents| and replaces it if
// found, or just adds the new infobar otherwise. Returns whether an infobar
// was created.
static bool Create(content::WebContents* web_contents,
- const content::MediaStreamRequest& request,
- const content::MediaResponseCallback& callback);
+ scoped_ptr<MediaStreamDevicesController> controller);
bool IsRequestingVideoAccess() const;
bool IsRequestingMicrophoneAccess() const;
« no previous file with comments | « chrome/browser/media/media_stream_devices_controller.cc ('k') | chrome/browser/media/media_stream_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698