Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: content/renderer/media/user_media_client_impl.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
(...skipping 18 matching lines...) Expand all
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 {
35 class PeerConnectionDependencyFactory; 35 class PeerConnectionDependencyFactory;
36 class MediaStreamAudioSource; 36 class MediaStreamAudioSource;
37 class MediaStreamDispatcher; 37 class MediaStreamDispatcher;
38 class MediaStreamVideoSource; 38 class MediaStreamVideoSource;
39 class VideoCapturerDelegate;
40 39
41 // UserMediaClientImpl is a delegate for the Media Stream GetUserMedia API. 40 // UserMediaClientImpl is a delegate for the Media Stream GetUserMedia API.
42 // It ties together WebKit and MediaStreamManager 41 // It ties together WebKit and MediaStreamManager
43 // (via MediaStreamDispatcher and MediaStreamDispatcherHost) 42 // (via MediaStreamDispatcher and MediaStreamDispatcherHost)
44 // in the browser process. It must be created, called and destroyed on the 43 // in the browser process. It must be created, called and destroyed on the
45 // render thread. 44 // render thread.
46 class CONTENT_EXPORT UserMediaClientImpl 45 class CONTENT_EXPORT UserMediaClientImpl
47 : public RenderFrameObserver, 46 : public RenderFrameObserver,
48 NON_EXPORTED_BASE(public blink::WebUserMediaClient), 47 NON_EXPORTED_BASE(public blink::WebUserMediaClient),
49 public MediaStreamDispatcherEventHandler, 48 public MediaStreamDispatcherEventHandler,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Note: This member must be the last to ensure all outstanding weak pointers 273 // Note: This member must be the last to ensure all outstanding weak pointers
275 // are invalidated first. 274 // are invalidated first.
276 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_; 275 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_;
277 276
278 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl); 277 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl);
279 }; 278 };
280 279
281 } // namespace content 280 } // namespace content
282 281
283 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ 282 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_webaudiodevice_impl.h ('k') | content/renderer/media/webmediaplayer_ms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698