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

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

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase + include content_settings_types.h more Created 3 years, 10 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/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 451702217ecaabe00c1d82bcb2afc5415fc3c2ff..8f005031889140c5e6cc4cf2aa21aab44facaa31 100644
--- a/chrome/browser/media/webrtc/media_stream_devices_controller.h
+++ b/chrome/browser/media/webrtc/media_stream_devices_controller.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_request.h"
#include "components/content_settings/core/common/content_settings.h"
-#include "content/public/browser/permission_type.h"
#include "content/public/browser/web_contents_delegate.h"
class Profile;
@@ -42,11 +41,6 @@ class MediaStreamDevicesController : public PermissionRequest {
bool IsAskingForVideo() const;
base::string16 GetMessageText() const;
- // Returns the PermissionsType associated with the provided
- // ContentSettingsType. |content_type| must be a media stream type.
- content::PermissionType GetPermissionTypeForContentSettingsType(
- ContentSettingsType content_type) const;
-
// Forces the permissions to be denied (without being persisted) regardless
// of what the previous state was. If the user had previously allowed the
// site video or audio access, this ignores that and informs the site it was

Powered by Google App Engine
This is Rietveld 408576698