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

Unified Diff: content/renderer/pepper/pepper_platform_video_capture.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_platform_video_capture.h
diff --git a/content/renderer/pepper/pepper_platform_video_capture.h b/content/renderer/pepper/pepper_platform_video_capture.h
index 5c1597c714ec4267e80ece33d06f7b681ec08f10..1d0b47c68ae554ad73c552358af0aa57938f77b5 100644
--- a/content/renderer/pepper/pepper_platform_video_capture.h
+++ b/content/renderer/pepper/pepper_platform_video_capture.h
@@ -31,26 +31,24 @@ class PepperPlatformVideoCapture
public base::RefCounted<PepperPlatformVideoCapture>,
public media::VideoCapture::EventHandler {
public:
- PepperPlatformVideoCapture(
- const base::WeakPtr<RenderViewImpl>& render_view,
- const std::string& device_id,
- const GURL& document_url,
- PepperVideoCaptureHost* handler);
+ PepperPlatformVideoCapture(const base::WeakPtr<RenderViewImpl>& render_view,
+ const std::string& device_id,
+ const GURL& document_url,
+ PepperVideoCaptureHost* handler);
// Detaches the event handler and stops sending notifications to it.
void DetachEventHandler();
// media::VideoCapture implementation.
- virtual void StartCapture(
- media::VideoCapture::EventHandler* handler,
- const media::VideoCaptureParams& params) OVERRIDE;
+ virtual void StartCapture(media::VideoCapture::EventHandler* handler,
+ const media::VideoCaptureParams& params) OVERRIDE;
virtual void StopCapture(media::VideoCapture::EventHandler* handler) OVERRIDE;
virtual bool CaptureStarted() OVERRIDE;
virtual int CaptureFrameRate() OVERRIDE;
- virtual void GetDeviceSupportedFormats(
- const DeviceFormatsCallback& callback) OVERRIDE;
- virtual void GetDeviceFormatsInUse(
- const DeviceFormatsInUseCallback& callback) OVERRIDE;
+ virtual void GetDeviceSupportedFormats(const DeviceFormatsCallback& callback)
+ OVERRIDE;
+ virtual void GetDeviceFormatsInUse(const DeviceFormatsInUseCallback& callback)
+ OVERRIDE;
// media::VideoCapture::EventHandler implementation
virtual void OnStarted(VideoCapture* capture) OVERRIDE;
@@ -58,9 +56,9 @@ class PepperPlatformVideoCapture
virtual void OnPaused(VideoCapture* capture) OVERRIDE;
virtual void OnError(VideoCapture* capture, int error_code) OVERRIDE;
virtual void OnRemoved(VideoCapture* capture) OVERRIDE;
- virtual void OnFrameReady(
- VideoCapture* capture,
- const scoped_refptr<media::VideoFrame>& frame) OVERRIDE;
+ virtual void OnFrameReady(VideoCapture* capture,
+ const scoped_refptr<media::VideoFrame>& frame)
+ OVERRIDE;
protected:
friend class base::RefCounted<PepperPlatformVideoCapture>;
@@ -69,9 +67,7 @@ class PepperPlatformVideoCapture
private:
void Initialize();
- void OnDeviceOpened(int request_id,
- bool succeeded,
- const std::string& label);
+ void OnDeviceOpened(int request_id, bool succeeded, const std::string& label);
PepperMediaDeviceManager* GetMediaDeviceManager();
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d.cc ('k') | content/renderer/pepper/pepper_platform_video_capture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698