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

Unified Diff: ppapi/thunk/ppb_output_protection_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_network_proxy_thunk.cc ('k') | ppapi/thunk/ppb_platform_verification_private_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_output_protection_private_thunk.cc
diff --git a/ppapi/thunk/ppb_output_protection_private_thunk.cc b/ppapi/thunk/ppb_output_protection_private_thunk.cc
index 0813f99080f36ab04942b52727133c549e7fe3b6..8b5ab5bdd9b0ef9d07afed3317037f2fc045bce5 100644
--- a/ppapi/thunk/ppb_output_protection_private_thunk.cc
+++ b/ppapi/thunk/ppb_output_protection_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_output_protection_private.idl,
-// modified Thu Oct 31 12:30:06 2013.
+// From private/ppb_output_protection_private.idl modified Fri Nov 1 16:12:12
+// 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -40,8 +40,7 @@ int32_t QueryStatus(PP_Resource resource,
EnterResource<PPB_OutputProtection_API> enter(resource, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->QueryStatus(link_mask,
- protection_mask,
+ return enter.SetResult(enter.object()->QueryStatus(link_mask, protection_mask,
enter.callback()));
}
@@ -53,22 +52,19 @@ int32_t EnableProtection(PP_Resource resource,
if (enter.failed())
return enter.retval();
return enter.SetResult(enter.object()->EnableProtection(
- desired_protection_mask,
- enter.callback()));
+ desired_protection_mask, enter.callback()));
}
const PPB_OutputProtection_Private_0_1
- g_ppb_outputprotection_private_thunk_0_1 = {
- &Create,
- &IsOutputProtection,
- &QueryStatus,
- &EnableProtection
-};
+ g_ppb_outputprotection_private_thunk_0_1 = {&Create,
+ &IsOutputProtection,
+ &QueryStatus,
+ &EnableProtection};
} // namespace
PPAPI_THUNK_EXPORT const PPB_OutputProtection_Private_0_1*
- GetPPB_OutputProtection_Private_0_1_Thunk() {
+GetPPB_OutputProtection_Private_0_1_Thunk() {
return &g_ppb_outputprotection_private_thunk_0_1;
}
« no previous file with comments | « ppapi/thunk/ppb_network_proxy_thunk.cc ('k') | ppapi/thunk/ppb_platform_verification_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698