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

Side by Side Diff: content/renderer/pepper/pepper_platform_camera_device.h

Issue 960103002: Rename VideoCaptureImplManager to VideoCaptureService Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 5 years, 10 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 21 matching lines...) Expand all
32 ~PepperPlatformCameraDevice(); 32 ~PepperPlatformCameraDevice();
33 33
34 // Detaches the event handler and stops sending notifications to it. 34 // Detaches the event handler and stops sending notifications to it.
35 void DetachEventHandler(); 35 void DetachEventHandler();
36 36
37 void GetSupportedVideoCaptureFormats(); 37 void GetSupportedVideoCaptureFormats();
38 38
39 private: 39 private:
40 void OnDeviceOpened(int request_id, bool succeeded, const std::string& label); 40 void OnDeviceOpened(int request_id, bool succeeded, const std::string& label);
41 41
42 // Called by VideoCaptureImplManager. 42 // Called by VideoCaptureService.
43 void OnDeviceSupportedFormatsEnumerated( 43 void OnDeviceSupportedFormatsEnumerated(
44 const media::VideoCaptureFormats& formats); 44 const media::VideoCaptureFormats& formats);
45 45
46 // Can return NULL if the RenderFrame referenced by |render_frame_id_| has 46 // Can return NULL if the RenderFrame referenced by |render_frame_id_| has
47 // gone away. 47 // gone away.
48 PepperMediaDeviceManager* GetMediaDeviceManager(); 48 PepperMediaDeviceManager* GetMediaDeviceManager();
49 49
50 const int render_frame_id_; 50 const int render_frame_id_;
51 const std::string device_id_; 51 const std::string device_id_;
52 52
(...skipping 11 matching lines...) Expand all
64 base::ThreadChecker thread_checker_; 64 base::ThreadChecker thread_checker_;
65 65
66 base::WeakPtrFactory<PepperPlatformCameraDevice> weak_factory_; 66 base::WeakPtrFactory<PepperPlatformCameraDevice> weak_factory_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(PepperPlatformCameraDevice); 68 DISALLOW_COPY_AND_ASSIGN(PepperPlatformCameraDevice);
69 }; 69 };
70 70
71 } // namespace content 71 } // namespace content
72 72
73 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_ 73 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CAMERA_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698