summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/pepper_media_device_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/pepper/pepper_media_device_manager.h')
-rw-r--r--content/renderer/pepper/pepper_media_device_manager.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/content/renderer/pepper/pepper_media_device_manager.h b/content/renderer/pepper/pepper_media_device_manager.h
index 86920f0..6fa7d7a 100644
--- a/content/renderer/pepper/pepper_media_device_manager.h
+++ b/content/renderer/pepper/pepper_media_device_manager.h
@@ -27,15 +27,15 @@ class PepperMediaDeviceManager
virtual ~PepperMediaDeviceManager();
// PepperDeviceEnumerationHostHelper::Delegate implementation:
- virtual int EnumerateDevices(
- PP_DeviceType_Dev type,
- const GURL& document_url,
- const EnumerateDevicesCallback& callback) OVERRIDE;
+ virtual int EnumerateDevices(PP_DeviceType_Dev type,
+ const GURL& document_url,
+ const EnumerateDevicesCallback& callback)
+ OVERRIDE;
virtual void StopEnumerateDevices(int request_id) OVERRIDE;
- typedef base::Callback<void (int /* request_id */,
- bool /* succeeded */,
- const std::string& /* label */)>
+ typedef base::Callback<void(int /* request_id */,
+ bool /* succeeded */,
+ const std::string& /* label */)>
OpenDeviceCallback;
// Opens the specified device. The request ID passed into the callback will be
@@ -65,13 +65,12 @@ class PepperMediaDeviceManager
content::MediaStreamRequestResult result) OVERRIDE;
virtual void OnDeviceStopped(const std::string& label,
const StreamDeviceInfo& device_info) OVERRIDE;
- virtual void OnDevicesEnumerated(
- int request_id,
- const StreamDeviceInfoArray& device_array) OVERRIDE;
- virtual void OnDeviceOpened(
- int request_id,
- const std::string& label,
- const StreamDeviceInfo& device_info) OVERRIDE;
+ virtual void OnDevicesEnumerated(int request_id,
+ const StreamDeviceInfoArray& device_array)
+ OVERRIDE;
+ virtual void OnDeviceOpened(int request_id,
+ const std::string& label,
+ const StreamDeviceInfo& device_info) OVERRIDE;
virtual void OnDeviceOpenFailed(int request_id) OVERRIDE;
// Stream type conversion.