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

Unified Diff: ppapi/thunk/ppb_host_resolver_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_host_resolver_thunk.cc
diff --git a/ppapi/thunk/ppb_host_resolver_thunk.cc b/ppapi/thunk/ppb_host_resolver_thunk.cc
index bac4007ebc0c4c084c91312db758f545a6efdefd..17a9972304c5bc959e3e5f081d72e43f108676a3 100644
--- a/ppapi/thunk/ppb_host_resolver_thunk.cc
+++ b/ppapi/thunk/ppb_host_resolver_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_host_resolver.idl modified Tue Aug 20 08:13:36 2013.
+// From ppb_host_resolver.idl modified Mon Jun 24 15:10:54 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -40,10 +40,8 @@ int32_t Resolve(PP_Resource host_resolver,
EnterResource<PPB_HostResolver_API> enter(host_resolver, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->Resolve(host,
- port,
- hint,
- enter.callback()));
+ return enter.SetResult(
+ enter.object()->Resolve(host, port, hint, enter.callback()));
}
struct PP_Var GetCanonicalName(PP_Resource host_resolver) {
@@ -70,19 +68,18 @@ PP_Resource GetNetAddress(PP_Resource host_resolver, uint32_t index) {
return enter.object()->GetNetAddress(index);
}
-const PPB_HostResolver_1_0 g_ppb_hostresolver_thunk_1_0 = {
- &Create,
- &IsHostResolver,
- &Resolve,
- &GetCanonicalName,
- &GetNetAddressCount,
- &GetNetAddress
+const PPB_HostResolver_1_0 g_ppb_hostresolver_thunk_1_0 = { //
+ &Create, //
+ &IsHostResolver, //
+ &Resolve, //
+ &GetCanonicalName, //
+ &GetNetAddressCount, //
+ &GetNetAddress //
};
} // namespace
-PPAPI_THUNK_EXPORT const PPB_HostResolver_1_0*
- GetPPB_HostResolver_1_0_Thunk() {
+PPAPI_THUNK_EXPORT const PPB_HostResolver_1_0* GetPPB_HostResolver_1_0_Thunk() {
return &g_ppb_hostresolver_thunk_1_0;
}

Powered by Google App Engine
This is Rietveld 408576698