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

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

Issue 10534004: Implement CancelUserMediaRequest for the browser part (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: addressed tommi's comments 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 11358cb2b751ccbe6efb45be16305b4979aaa41c..50a9fbc27183d4e259b9173391e96d97eb1d4fb0 100644
--- a/content/browser/renderer_host/media/media_stream_device_settings.h
+++ b/content/browser/renderer_host/media/media_stream_device_settings.h
@@ -45,6 +45,10 @@ class CONTENT_EXPORT MediaStreamDeviceSettings
const StreamOptions& stream_components,
const GURL& security_origin);
+ // Called to remove a pending request of capture device usage when the user
+ // has no action for the media stream InfoBar.
+ void RemovePendingCaptureRequest(const std::string& label);
+
// Called to pass in an array of available devices for a request represented
// by |label|. There could be multiple calls for a request.
void AvailableDevices(const std::string& label, MediaStreamType stream_type,

Powered by Google App Engine
This is Rietveld 408576698