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

Unified Diff: ppapi/thunk/ppb_file_chooser_trusted_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_file_chooser_dev_thunk.cc ('k') | ppapi/thunk/ppb_file_io_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
diff --git a/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc b/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
index e3b790b73a97e48ef12ab55fc7cdcff62f5de919..b1a3ad72d137d46a2cfd6fd6f732d8ce816e704a 100644
--- a/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_file_chooser_trusted_thunk.cc
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From trusted/ppb_file_chooser_trusted.idl,
-// modified Tue Aug 20 08:13:36 2013.
+// From trusted/ppb_file_chooser_trusted.idl modified Mon May 6 10:11:29 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -27,9 +26,7 @@ int32_t ShowWithoutUserGesture_0_5(PP_Resource chooser,
if (enter.failed())
return enter.retval();
return enter.SetResult(enter.object()->ShowWithoutUserGesture0_5(
- save_as,
- suggested_file_name,
- enter.callback()));
+ save_as, suggested_file_name, enter.callback()));
}
int32_t ShowWithoutUserGesture(PP_Resource chooser,
@@ -42,29 +39,24 @@ int32_t ShowWithoutUserGesture(PP_Resource chooser,
if (enter.failed())
return enter.retval();
return enter.SetResult(enter.object()->ShowWithoutUserGesture(
- save_as,
- suggested_file_name,
- output,
- enter.callback()));
+ save_as, suggested_file_name, output, enter.callback()));
}
const PPB_FileChooserTrusted_0_5 g_ppb_filechoosertrusted_thunk_0_5 = {
- &ShowWithoutUserGesture_0_5
-};
+ &ShowWithoutUserGesture_0_5};
const PPB_FileChooserTrusted_0_6 g_ppb_filechoosertrusted_thunk_0_6 = {
- &ShowWithoutUserGesture
-};
+ &ShowWithoutUserGesture};
} // namespace
PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted_0_5*
- GetPPB_FileChooserTrusted_0_5_Thunk() {
+GetPPB_FileChooserTrusted_0_5_Thunk() {
return &g_ppb_filechoosertrusted_thunk_0_5;
}
PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted_0_6*
- GetPPB_FileChooserTrusted_0_6_Thunk() {
+GetPPB_FileChooserTrusted_0_6_Thunk() {
return &g_ppb_filechoosertrusted_thunk_0_6;
}
« no previous file with comments | « ppapi/thunk/ppb_file_chooser_dev_thunk.cc ('k') | ppapi/thunk/ppb_file_io_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698