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_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "chrome/browser/media/media_internals.h" | 13 #include "chrome/browser/media/media_internals.h" |
14 #include "chrome/browser/media/media_internals_observer.h" | 14 #include "chrome/browser/media/media_internals_observer.h" |
15 #include "chrome/browser/profiles/profile_keyed_service.h" | 15 #include "chrome/browser/profiles/profile_keyed_service.h" |
16 #include "chrome/common/extensions/api/tab_capture.h" | 16 #include "chrome/common/extensions/api/tab_capture.h" |
17 #include "content/public/browser/browser_thread.h" | |
18 #include "content/public/browser/media_request_state.h" | 17 #include "content/public/browser/media_request_state.h" |
19 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
21 #include "content/public/common/media_stream_request.h" | 20 #include "content/public/common/media_stream_request.h" |
22 | 21 |
23 class Profile; | 22 class Profile; |
24 | 23 |
25 namespace extensions { | 24 namespace extensions { |
26 | 25 |
27 namespace tab_capture = extensions::api::tab_capture; | 26 namespace tab_capture = extensions::api::tab_capture; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 content::NotificationRegistrar registrar_; | 98 content::NotificationRegistrar registrar_; |
100 Profile* const profile_; | 99 Profile* const profile_; |
101 DeviceCaptureRequestMap requests_; | 100 DeviceCaptureRequestMap requests_; |
102 | 101 |
103 DISALLOW_COPY_AND_ASSIGN(TabCaptureRegistry); | 102 DISALLOW_COPY_AND_ASSIGN(TabCaptureRegistry); |
104 }; | 103 }; |
105 | 104 |
106 } // namespace extension | 105 } // namespace extension |
107 | 106 |
108 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ | 107 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_TAB_CAPTURE_REGISTRY_H_ |
OLD | NEW |