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

Unified Diff: content/browser/renderer_host/media/media_stream_device_settings.h

Issue 10542092: Refactor the content interface for RequestMediaAccessPermission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 8 years, 6 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/media_stream_device_settings.h
diff --git a/content/browser/renderer_host/media/media_stream_device_settings.h b/content/browser/renderer_host/media/media_stream_device_settings.h
index 50a9fbc27183d4e259b9173391e96d97eb1d4fb0..85aff6d6e7bde0da7063e6997989f8d1bc55116f 100644
--- a/content/browser/renderer_host/media/media_stream_device_settings.h
+++ b/content/browser/renderer_host/media/media_stream_device_settings.h
@@ -81,6 +81,9 @@ class CONTENT_EXPORT MediaStreamDeviceSettings
// Posts a request to be approved/denied by UI.
void PostRequestToUi(const std::string& label);
+ // Sends the request to the appropriate WebContents.
+ void DoRequest(const MediaStreamDeviceSettingsRequest* request,
+ const content::MediaResponseCallback& callback);
SettingsRequester* requester_;
SettingsRequests requests_;

Powered by Google App Engine
This is Rietveld 408576698