OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEVICES_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICES_CONTROLLER_H_ |
6 #define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICES_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/browser/permissions/permission_request.h" | 12 #include "chrome/browser/permissions/permission_request.h" |
13 #include "components/content_settings/core/common/content_settings.h" | 13 #include "components/content_settings/core/common/content_settings.h" |
14 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // The callback that needs to be Run to notify WebRTC of whether access to | 130 // The callback that needs to be Run to notify WebRTC of whether access to |
131 // audio/video devices was granted or not. | 131 // audio/video devices was granted or not. |
132 content::MediaResponseCallback callback_; | 132 content::MediaResponseCallback callback_; |
133 | 133 |
134 // Whether the permissions granted or denied by the user should be persisted. | 134 // Whether the permissions granted or denied by the user should be persisted. |
135 bool persist_permission_changes_; | 135 bool persist_permission_changes_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicesController); | 137 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicesController); |
138 }; | 138 }; |
139 | 139 |
140 #endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ | 140 #endif // CHROME_BROWSER_MEDIA_WEBRTC_MEDIA_STREAM_DEVICES_CONTROLLER_H_ |
OLD | NEW |