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

Side by Side Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 2435393003: Rename VideoCaptureHostTest to VideoCaptureTest to reflect what it is (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_host_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 public mojom::VideoCaptureHost { 29 public mojom::VideoCaptureHost {
30 public: 30 public:
31 explicit VideoCaptureHost(MediaStreamManager* media_stream_manager); 31 explicit VideoCaptureHost(MediaStreamManager* media_stream_manager);
32 32
33 static void Create(MediaStreamManager* media_stream_manager, 33 static void Create(MediaStreamManager* media_stream_manager,
34 mojom::VideoCaptureHostRequest request); 34 mojom::VideoCaptureHostRequest request);
35 35
36 ~VideoCaptureHost() override; 36 ~VideoCaptureHost() override;
37 37
38 private: 38 private:
39 friend class VideoCaptureHostTest; 39 friend class VideoCaptureTest;
40 40
41 // VideoCaptureControllerEventHandler implementation. 41 // VideoCaptureControllerEventHandler implementation.
42 void OnError(VideoCaptureControllerID id) override; 42 void OnError(VideoCaptureControllerID id) override;
43 void OnBufferCreated(VideoCaptureControllerID id, 43 void OnBufferCreated(VideoCaptureControllerID id,
44 mojo::ScopedSharedBufferHandle handle, 44 mojo::ScopedSharedBufferHandle handle,
45 int length, 45 int length,
46 int buffer_id) override; 46 int buffer_id) override;
47 void OnBufferDestroyed(VideoCaptureControllerID id, 47 void OnBufferDestroyed(VideoCaptureControllerID id,
48 int buffer_id) override; 48 int buffer_id) override;
49 void OnBufferReady(VideoCaptureControllerID id, 49 void OnBufferReady(VideoCaptureControllerID id,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 std::map<int32_t, mojom::VideoCaptureObserverPtr> device_id_to_observer_map_; 102 std::map<int32_t, mojom::VideoCaptureObserverPtr> device_id_to_observer_map_;
103 103
104 base::WeakPtrFactory<VideoCaptureHost> weak_factory_; 104 base::WeakPtrFactory<VideoCaptureHost> weak_factory_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost); 106 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost);
107 }; 107 };
108 108
109 } // namespace content 109 } // namespace content
110 110
111 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_ 111 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698