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

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

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 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_device_permissions.h
diff --git a/chrome/browser/media/media_stream_device_permissions.h b/chrome/browser/media/media_stream_device_permissions.h
deleted file mode 100644
index 5a1563035ac90ee70b22d3379c47e21652a2b4d9..0000000000000000000000000000000000000000
--- a/chrome/browser/media/media_stream_device_permissions.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSIONS_H_
-#define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSIONS_H_
-
-#include "components/content_settings/core/common/content_settings.h"
-#include "components/content_settings/core/common/content_settings_types.h"
-#include "content/public/common/media_stream_request.h"
-
-class GURL;
-class Profile;
-
-enum MediaStreamDevicePolicy {
- POLICY_NOT_SET,
- ALWAYS_DENY,
- ALWAYS_ALLOW,
-};
-
-// Get the device policy for |security_origin| and |profile|.
-MediaStreamDevicePolicy GetDevicePolicy(const Profile* profile,
- const GURL& security_origin,
- const char* policy_name,
- const char* whitelist_policy_name);
-
-#endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSIONS_H_

Powered by Google App Engine
This is Rietveld 408576698