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

Unified Diff: ppapi/thunk/ppb_video_capture_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use Popen instead, force carriage returns in thunks 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: ppapi/thunk/ppb_video_capture_thunk.cc
diff --git a/ppapi/thunk/ppb_video_capture_thunk.cc b/ppapi/thunk/ppb_video_capture_thunk.cc
index 83772a53f5ca7dcc15df35dd9bc10515fc644713..17bc8d01cf916013296a9ce4bac297a33b29bacb 100644
--- a/ppapi/thunk/ppb_video_capture_thunk.cc
+++ b/ppapi/thunk/ppb_video_capture_thunk.cc
@@ -37,8 +37,8 @@ int32_t EnumerateDevices(PP_Resource video_capture,
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->EnumerateDevices(output,
- enter.callback()));
+ return enter.SetResult(
+ enter.object()->EnumerateDevices(output, enter.callback()));
}
int32_t MonitorDeviceChange(PP_Resource video_capture,
@@ -80,8 +80,7 @@ int32_t StartCapture(PP_Resource video_capture) {
return enter.object()->StartCapture();
}
-int32_t ReuseBuffer(PP_Resource video_capture,
- uint32_t buffer) {
+int32_t ReuseBuffer(PP_Resource video_capture, uint32_t buffer) {
EnterVideoCapture enter(video_capture, true);
if (enter.failed())
return enter.retval();
@@ -102,16 +101,9 @@ void Close(PP_Resource video_capture) {
}
const PPB_VideoCapture_Dev_0_3 g_ppb_video_capture_0_3_thunk = {
- &Create,
- &IsVideoCapture,
- &EnumerateDevices,
- &MonitorDeviceChange,
- &Open,
- &StartCapture,
- &ReuseBuffer,
- &StopCapture,
- &Close
-};
+ &Create, &IsVideoCapture, &EnumerateDevices,
+ &MonitorDeviceChange, &Open, &StartCapture,
+ &ReuseBuffer, &StopCapture, &Close};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698