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

Side by Side Diff: chrome/browser/media/webrtc/media_stream_device_permission_context.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_
6 #define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/permissions/permission_context_base.h" 9 #include "chrome/browser/permissions/permission_context_base.h"
10 #include "components/content_settings/core/common/content_settings_types.h" 10 #include "components/content_settings/core/common/content_settings_types.h"
11 #include "content/public/browser/permission_type.h" 11 #include "content/public/browser/permission_type.h"
12 12
13 // Common class which handles the mic and camera permissions. 13 // Common class which handles the mic and camera permissions.
14 // MediaStreamMicPermissionContextFactory and 14 // MediaStreamMicPermissionContextFactory and
15 // MediaStreamCameraPermissionContextFactory will instantiate this with 15 // MediaStreamCameraPermissionContextFactory will instantiate this with
16 // corresponding |permission_type|. 16 // corresponding |permission_type|.
(...skipping 26 matching lines...) Expand all
43 43
44 private: 44 private:
45 // PermissionContextBase: 45 // PermissionContextBase:
46 bool IsRestrictedToSecureOrigins() const override; 46 bool IsRestrictedToSecureOrigins() const override;
47 47
48 ContentSettingsType content_settings_type_; 48 ContentSettingsType content_settings_type_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicePermissionContext); 50 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicePermissionContext);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_ 53 #endif // CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICE_PERMISSION_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698