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_MEDIA_STREAM_DEVICES_CONTROLLER_H_ |
6 #define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ | 6 #define CHROME_BROWSER_MEDIA_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 "chrome/browser/ui/website_settings/permission_bubble_request.h" | 12 #include "chrome/browser/ui/website_settings/permission_bubble_request.h" |
12 #include "components/content_settings/core/common/content_settings.h" | 13 #include "components/content_settings/core/common/content_settings.h" |
13 #include "content/public/browser/web_contents_delegate.h" | 14 #include "content/public/browser/web_contents_delegate.h" |
14 | 15 |
15 class Profile; | 16 class Profile; |
16 class TabSpecificContentSettings; | 17 class TabSpecificContentSettings; |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 class WebContents; | 20 class WebContents; |
20 } | 21 } |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // audio/video devices was granted or not. | 125 // audio/video devices was granted or not. |
125 content::MediaResponseCallback callback_; | 126 content::MediaResponseCallback callback_; |
126 | 127 |
127 // Whether the permissions granted or denied by the user should be persisted. | 128 // Whether the permissions granted or denied by the user should be persisted. |
128 bool persist_permission_changes_; | 129 bool persist_permission_changes_; |
129 | 130 |
130 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicesController); | 131 DISALLOW_COPY_AND_ASSIGN(MediaStreamDevicesController); |
131 }; | 132 }; |
132 | 133 |
133 #endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ | 134 #endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ |
OLD | NEW |