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

Unified Diff: ppapi/thunk/ppb_display_color_profile_private_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_device_ref_dev_thunk.cc ('k') | ppapi/thunk/ppb_file_chooser_dev_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_display_color_profile_private_thunk.cc
diff --git a/ppapi/thunk/ppb_display_color_profile_private_thunk.cc b/ppapi/thunk/ppb_display_color_profile_private_thunk.cc
index 6b14347c5fac92c96fbe77e6e6bb26ef118ef759..65e66bcf4d6af45b03c72b1bd92cfc96365a20f8 100644
--- a/ppapi/thunk/ppb_display_color_profile_private_thunk.cc
+++ b/ppapi/thunk/ppb_display_color_profile_private_thunk.cc
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From private/ppb_display_color_profile_private.idl,
-// modified Tue Feb 18 18:03:36 2014.
+// From private/ppb_display_color_profile_private.idl modified Mon Apr 7
+// 08:56:43 2014.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -37,40 +37,37 @@ int32_t GetColorProfile(PP_Resource display_color_profile_res,
struct PP_CompletionCallback callback) {
VLOG(4) << "PPB_DisplayColorProfile_Private::GetColorProfile()";
EnterResource<PPB_DisplayColorProfile_API> enter(display_color_profile_res,
- callback,
- true);
+ callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->GetColorProfile(color_profile,
- enter.callback()));
+ return enter.SetResult(
+ enter.object()->GetColorProfile(color_profile, enter.callback()));
}
int32_t RegisterColorProfileChangeCallback(
PP_Resource display_color_profile_res,
struct PP_CompletionCallback callback) {
- VLOG(4) <<
- "PPB_DisplayColorProfile_Private::RegisterColorProfileChangeCallback()";
+ VLOG(4) << "PPB_DisplayColorProfile_Private::"
+ "RegisterColorProfileChangeCallback()";
EnterResource<PPB_DisplayColorProfile_API> enter(display_color_profile_res,
- callback,
- true);
+ callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->RegisterColorProfileChangeCallback(
- enter.callback()));
+ return enter.SetResult(
+ enter.object()->RegisterColorProfileChangeCallback(enter.callback()));
}
const PPB_DisplayColorProfile_Private_0_1
g_ppb_displaycolorprofile_private_thunk_0_1 = {
- &Create,
- &IsDisplayColorProfile,
- &GetColorProfile,
- &RegisterColorProfileChangeCallback
-};
+ &Create,
+ &IsDisplayColorProfile,
+ &GetColorProfile,
+ &RegisterColorProfileChangeCallback};
} // namespace
PPAPI_THUNK_EXPORT const PPB_DisplayColorProfile_Private_0_1*
- GetPPB_DisplayColorProfile_Private_0_1_Thunk() {
+GetPPB_DisplayColorProfile_Private_0_1_Thunk() {
return &g_ppb_displaycolorprofile_private_thunk_0_1;
}
« no previous file with comments | « ppapi/thunk/ppb_device_ref_dev_thunk.cc ('k') | ppapi/thunk/ppb_file_chooser_dev_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698