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

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, 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_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..94401014fd78c9a8ef55c7008c3f84e4c99c5e5b 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"
@@ -36,41 +36,39 @@ int32_t GetColorProfile(PP_Resource display_color_profile_res,
struct PP_ArrayOutput color_profile,
struct PP_CompletionCallback callback) {
VLOG(4) << "PPB_DisplayColorProfile_Private::GetColorProfile()";
- EnterResource<PPB_DisplayColorProfile_API> enter(display_color_profile_res,
- callback,
- true);
+ EnterResource<PPB_DisplayColorProfile_API> enter(
+ display_color_profile_res, 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()";
- EnterResource<PPB_DisplayColorProfile_API> enter(display_color_profile_res,
- callback,
- true);
+ VLOG(4) << "PPB_DisplayColorProfile_Private::"
+ "RegisterColorProfileChangeCallback()";
+ EnterResource<PPB_DisplayColorProfile_API> enter(
+ display_color_profile_res, 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
+ g_ppb_displaycolorprofile_private_thunk_0_1 = { //
+ &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;
}

Powered by Google App Engine
This is Rietveld 408576698