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

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

Issue 2377613002: Remove cancelMediaDevicesRequest dead code. (Closed)
Patch Set: Created 4 years, 2 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 (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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return media_stream_dispatcher_.get(); 57 return media_stream_dispatcher_.get();
58 } 58 }
59 59
60 // blink::WebUserMediaClient implementation 60 // blink::WebUserMediaClient implementation
61 void requestUserMedia( 61 void requestUserMedia(
62 const blink::WebUserMediaRequest& user_media_request) override; 62 const blink::WebUserMediaRequest& user_media_request) override;
63 void cancelUserMediaRequest( 63 void cancelUserMediaRequest(
64 const blink::WebUserMediaRequest& user_media_request) override; 64 const blink::WebUserMediaRequest& user_media_request) override;
65 void requestMediaDevices( 65 void requestMediaDevices(
66 const blink::WebMediaDevicesRequest& media_devices_request) override; 66 const blink::WebMediaDevicesRequest& media_devices_request) override;
67 void cancelMediaDevicesRequest(
68 const blink::WebMediaDevicesRequest& media_devices_request) override;
69 void requestSources( 67 void requestSources(
70 const blink::WebMediaStreamTrackSourcesRequest& sources_request) override; 68 const blink::WebMediaStreamTrackSourcesRequest& sources_request) override;
71 void setMediaDeviceChangeObserver( 69 void setMediaDeviceChangeObserver(
72 const blink::WebMediaDeviceChangeObserver& observer) override; 70 const blink::WebMediaDeviceChangeObserver& observer) override;
73 71
74 // MediaStreamDispatcherEventHandler implementation. 72 // MediaStreamDispatcherEventHandler implementation.
75 void OnStreamGenerated(int request_id, 73 void OnStreamGenerated(int request_id,
76 const std::string& label, 74 const std::string& label,
77 const StreamDeviceInfoArray& audio_array, 75 const StreamDeviceInfoArray& audio_array,
78 const StreamDeviceInfoArray& video_array) override; 76 const StreamDeviceInfoArray& video_array) override;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Note: This member must be the last to ensure all outstanding weak pointers 271 // Note: This member must be the last to ensure all outstanding weak pointers
274 // are invalidated first. 272 // are invalidated first.
275 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_; 273 base::WeakPtrFactory<UserMediaClientImpl> weak_factory_;
276 274
277 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl); 275 DISALLOW_COPY_AND_ASSIGN(UserMediaClientImpl);
278 }; 276 };
279 277
280 } // namespace content 278 } // namespace content
281 279
282 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_ 280 #endif // CONTENT_RENDERER_MEDIA_USER_MEDIA_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « components/test_runner/mock_web_user_media_client.cc ('k') | content/renderer/media/user_media_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698