OLD | NEW |
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_PERMISSION_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_PERMISSION_H_ |
6 #define CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_PERMISSION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/content_settings/core/common/content_settings.h" | 11 #include "components/content_settings/core/common/content_settings.h" |
12 #include "components/content_settings/core/common/content_settings_types.h" | 12 #include "components/content_settings/core/common/content_settings_types.h" |
13 #include "content/public/common/media_stream_request.h" | 13 #include "content/public/common/media_stream_request.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 class MediaStreamDevicePermissionContext; | 16 class MediaStreamDevicePermissionContext; |
(...skipping 27 matching lines...) Expand all Loading... |
44 | 44 |
45 const ContentSettingsType content_type_; | 45 const ContentSettingsType content_type_; |
46 const GURL requesting_origin_; | 46 const GURL requesting_origin_; |
47 const GURL embedding_origin_; | 47 const GURL embedding_origin_; |
48 const std::string device_id_; | 48 const std::string device_id_; |
49 Profile* const profile_; | 49 Profile* const profile_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(MediaPermission); | 51 DISALLOW_COPY_AND_ASSIGN(MediaPermission); |
52 }; | 52 }; |
53 | 53 |
54 #endif // CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_ | 54 #endif // CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_PERMISSION_H_ |
OLD | NEW |