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

Unified Diff: chrome/browser/media/webrtc/media_stream_devices_controller.h

Issue 2810743004: Remove the MediaPermissionStatus helper class (Closed)
Patch Set: Remove the MediaPermissionStatus helper class Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/media/webrtc/media_stream_devices_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/media_stream_devices_controller.h
diff --git a/chrome/browser/media/webrtc/media_stream_devices_controller.h b/chrome/browser/media/webrtc/media_stream_devices_controller.h
index 7d98c9fc27228b8004b7a5dfcd6d59545d85abf8..f8246e873f125902529b72939f718f50963e3d83 100644
--- a/chrome/browser/media/webrtc/media_stream_devices_controller.h
+++ b/chrome/browser/media/webrtc/media_stream_devices_controller.h
@@ -85,7 +85,6 @@ class MediaStreamDevicesController : public PermissionRequest {
friend class test::MediaStreamDevicesControllerTestApi;
friend class policy::MediaStreamDevicesControllerBrowserTest;
- class MediaPermissionStatus;
class PermissionPromptDelegateImpl;
static void RequestPermissionsWithDelegate(
@@ -95,8 +94,7 @@ class MediaStreamDevicesController : public PermissionRequest {
MediaStreamDevicesController(content::WebContents* web_contents,
const content::MediaStreamRequest& request,
- const content::MediaResponseCallback& callback,
- const MediaPermissionStatus& initial_permission);
+ const content::MediaResponseCallback& callback);
bool IsAllowedForAudio() const;
bool IsAllowedForVideo() const;
@@ -127,8 +125,6 @@ class MediaStreamDevicesController : public PermissionRequest {
ContentSetting GetContentSetting(
ContentSettingsType content_type,
const content::MediaStreamRequest& request,
- bool was_requested,
- bool was_initially_blocked,
content::MediaStreamRequestResult* denial_reason) const;
// Returns the content setting that should apply given an old content setting
« no previous file with comments | « no previous file | chrome/browser/media/webrtc/media_stream_devices_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698