| 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 CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/common/media/media_devices.h" | 19 #include "content/common/media/media_devices.h" |
| 20 #include "content/common/media/media_devices.mojom.h" | 20 #include "content/common/media/media_devices.mojom.h" |
| 21 #include "content/public/renderer/render_frame_observer.h" | 21 #include "content/public/renderer/render_frame_observer.h" |
| 22 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" | 22 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" |
| 23 #include "content/renderer/media/media_stream_source.h" | 23 #include "content/renderer/media/media_stream_source.h" |
| 24 #include "services/shell/public/cpp/interface_provider.h" | 24 #include "services/service_manager/public/cpp/interface_provider.h" |
| 25 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 25 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
| 26 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 26 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
| 27 #include "third_party/WebKit/public/platform/WebSourceInfo.h" | 27 #include "third_party/WebKit/public/platform/WebSourceInfo.h" |
| 28 #include "third_party/WebKit/public/platform/WebVector.h" | 28 #include "third_party/WebKit/public/platform/WebVector.h" |
| 29 #include "third_party/WebKit/public/web/WebMediaDeviceChangeObserver.h" | 29 #include "third_party/WebKit/public/web/WebMediaDeviceChangeObserver.h" |
| 30 #include "third_party/WebKit/public/web/WebMediaDevicesRequest.h" | 30 #include "third_party/WebKit/public/web/WebMediaDevicesRequest.h" |
| 31 #include "third_party/WebKit/public/web/WebUserMediaClient.h" | 31 #include "third_party/WebKit/public/web/WebUserMediaClient.h" |
| 32 #include "third_party/WebKit/public/web/WebUserMediaRequest.h" | 32 #include "third_party/WebKit/public/web/WebUserMediaRequest.h" |
| 33 | 33 |
| 34 namespace content { | 34 namespace content { |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Note: This member must be the last to ensure all outstanding weak pointers | 274 // Note: This member must be the last to ensure all outstanding weak pointers |
| 275 // are invalidated first. | 275 // are invalidated first. |
| 276 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_; | 276 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_; |
| 277 | 277 |
| 278 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl); | 278 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl); |
| 279 }; | 279 }; |
| 280 | 280 |
| 281 } // namespace content | 281 } // namespace content |
| 282 | 282 |
| 283 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ | 283 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ |
| OLD | NEW |