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

Side by Side Diff: content/renderer/media/media_stream_dispatcher_eventhandler.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_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 14 matching lines...) Expand all
25 // to the requested devices or no device is available. 25 // to the requested devices or no device is available.
26 virtual void OnStreamGenerationFailed( 26 virtual void OnStreamGenerationFailed(
27 int request_id, 27 int request_id,
28 content::MediaStreamRequestResult result) = 0; 28 content::MediaStreamRequestResult result) = 0;
29 29
30 // A device has been stopped in the browser processes. 30 // A device has been stopped in the browser processes.
31 virtual void OnDeviceStopped( 31 virtual void OnDeviceStopped(
32 const std::string& label, 32 const std::string& label,
33 const StreamDeviceInfo& device_info) = 0; 33 const StreamDeviceInfo& device_info) = 0;
34 34
35 // A new list of devices have been enumerated.
36 virtual void OnDevicesEnumerated(
37 int request_id,
38 const StreamDeviceInfoArray& device_array) = 0;
39
40 // A device has been opened. 35 // A device has been opened.
41 virtual void OnDeviceOpened( 36 virtual void OnDeviceOpened(
42 int request_id, 37 int request_id,
43 const std::string& label, 38 const std::string& label,
44 const StreamDeviceInfo& device_info) = 0; 39 const StreamDeviceInfo& device_info) = 0;
45 40
46 // Failed to open the device. 41 // Failed to open the device.
47 virtual void OnDeviceOpenFailed(int request_id) = 0; 42 virtual void OnDeviceOpenFailed(int request_id) = 0;
48 43
49 virtual void OnDevicesChanged() = 0;
50
51 protected: 44 protected:
52 virtual ~MediaStreamDispatcherEventHandler() {} 45 virtual ~MediaStreamDispatcherEventHandler() {}
53 }; 46 };
54 47
55 } // namespace content 48 } // namespace content
56 49
57 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_ 50 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DISPATCHER_EVENTHANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dispatcher.cc ('k') | content/renderer/media/media_stream_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698