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

Unified Diff: ppapi/thunk/ppb_broker_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_broker_thunk.cc
diff --git a/ppapi/thunk/ppb_broker_thunk.cc b/ppapi/thunk/ppb_broker_thunk.cc
index 0f2f1c9ebd06f72ae382a3dae2f1b95d1d7d7cce..727f403b03c12170d5f15d1d1c74b4e2c556525e 100644
--- a/ppapi/thunk/ppb_broker_thunk.cc
+++ b/ppapi/thunk/ppb_broker_thunk.cc
@@ -27,8 +27,7 @@ PP_Bool IsBrokerTrusted(PP_Resource resource) {
return PP_FromBool(enter.succeeded());
}
-int32_t Connect(PP_Resource resource,
- PP_CompletionCallback callback) {
+int32_t Connect(PP_Resource resource, PP_CompletionCallback callback) {
EnterResource<PPB_Broker_API> enter(resource, callback, true);
if (enter.failed())
return enter.retval();
@@ -58,19 +57,10 @@ PP_Bool IsAllowed(PP_Resource resource) {
}
const PPB_BrokerTrusted_0_2 g_ppb_broker_0_2_thunk = {
- &CreateTrusted,
- &IsBrokerTrusted,
- &Connect,
- &GetHandle,
-};
+ &CreateTrusted, &IsBrokerTrusted, &Connect, &GetHandle, };
const PPB_BrokerTrusted_0_3 g_ppb_broker_0_3_thunk = {
- &CreateTrusted,
- &IsBrokerTrusted,
- &Connect,
- &GetHandle,
- &IsAllowed,
-};
+ &CreateTrusted, &IsBrokerTrusted, &Connect, &GetHandle, &IsAllowed, };
} // namespace

Powered by Google App Engine
This is Rietveld 408576698