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

Unified Diff: content/renderer/pepper/pepper_video_capture_host.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_video_capture_host.h
diff --git a/content/renderer/pepper/pepper_video_capture_host.h b/content/renderer/pepper/pepper_video_capture_host.h
index a8312a2f5a8e602de44a7f44d2c086686807a0df..8f5b77ad3b1778894631d1f45ea7544eb20243eb 100644
--- a/content/renderer/pepper/pepper_video_capture_host.h
+++ b/content/renderer/pepper/pepper_video_capture_host.h
@@ -20,9 +20,8 @@ namespace content {
class PepperPlatformVideoCapture;
class RendererPpapiHostImpl;
-class PepperVideoCaptureHost
- : public ppapi::host::ResourceHost,
- public media::VideoCapture::EventHandler {
+class PepperVideoCaptureHost : public ppapi::host::ResourceHost,
+ public media::VideoCapture::EventHandler {
public:
PepperVideoCaptureHost(RendererPpapiHostImpl* host,
PP_Instance instance,
@@ -44,9 +43,9 @@ class PepperVideoCaptureHost
virtual void OnPaused(media::VideoCapture* capture) OVERRIDE;
virtual void OnError(media::VideoCapture* capture, int error_code) OVERRIDE;
virtual void OnRemoved(media::VideoCapture* capture) OVERRIDE;
- virtual void OnFrameReady(
- media::VideoCapture* capture,
- const scoped_refptr<media::VideoFrame>& frame) OVERRIDE;
+ virtual void OnFrameReady(media::VideoCapture* capture,
+ const scoped_refptr<media::VideoFrame>& frame)
+ OVERRIDE;
private:
int32_t OnOpen(ppapi::host::HostMessageContext* context,
@@ -62,8 +61,7 @@ class PepperVideoCaptureHost
int32_t StopCapture();
int32_t Close();
void PostErrorReply();
- void AllocBuffers(const gfx::Size& resolution,
- int frame_rate);
+ void AllocBuffers(const gfx::Size& resolution, int frame_rate);
void ReleaseBuffers();
void SendStatus();
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | content/renderer/pepper/pepper_video_capture_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698