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

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

Issue 2487133003: Remove dead code related to media device enumerations and monitoring. (Closed)
Patch Set: rebase 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_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void OnStreamGenerated( 67 void OnStreamGenerated(
68 int request_id, 68 int request_id,
69 const std::string& label, 69 const std::string& label,
70 const StreamDeviceInfoArray& audio_device_array, 70 const StreamDeviceInfoArray& audio_device_array,
71 const StreamDeviceInfoArray& video_device_array) override; 71 const StreamDeviceInfoArray& video_device_array) override;
72 void OnStreamGenerationFailed( 72 void OnStreamGenerationFailed(
73 int request_id, 73 int request_id,
74 content::MediaStreamRequestResult result) override; 74 content::MediaStreamRequestResult result) override;
75 void OnDeviceStopped(const std::string& label, 75 void OnDeviceStopped(const std::string& label,
76 const StreamDeviceInfo& device_info) override; 76 const StreamDeviceInfo& device_info) override;
77 void OnDevicesEnumerated(int request_id,
78 const StreamDeviceInfoArray& device_array) override;
79 void OnDeviceOpened(int request_id, 77 void OnDeviceOpened(int request_id,
80 const std::string& label, 78 const std::string& label,
81 const StreamDeviceInfo& device_info) override; 79 const StreamDeviceInfo& device_info) override;
82 void OnDeviceOpenFailed(int request_id) override; 80 void OnDeviceOpenFailed(int request_id) override;
83 void OnDevicesChanged() override;
84 81
85 // Stream type conversion. 82 // Stream type conversion.
86 static MediaStreamType FromPepperDeviceType(PP_DeviceType_Dev type); 83 static MediaStreamType FromPepperDeviceType(PP_DeviceType_Dev type);
87 84
88 private: 85 private:
89 explicit PepperMediaDeviceManager(RenderFrame* render_frame); 86 explicit PepperMediaDeviceManager(RenderFrame* render_frame);
90 87
91 // RenderFrameObserver implementation. 88 // RenderFrameObserver implementation.
92 void OnDestruct() override; 89 void OnDestruct() override;
93 90
(...skipping 22 matching lines...) Expand all
116 OpenCallbackMap open_callbacks_; 113 OpenCallbackMap open_callbacks_;
117 114
118 ::mojom::MediaDevicesDispatcherHostPtr media_devices_dispatcher_; 115 ::mojom::MediaDevicesDispatcherHostPtr media_devices_dispatcher_;
119 116
120 DISALLOW_COPY_AND_ASSIGN(PepperMediaDeviceManager); 117 DISALLOW_COPY_AND_ASSIGN(PepperMediaDeviceManager);
121 }; 118 };
122 119
123 } // namespace content 120 } // namespace content
124 121
125 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_ 122 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_DEVICE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698