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

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, 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_graphics_3d_thunk.cc ('k') | ppapi/thunk/ppb_image_capture_config_private_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..47d9ad09b6aff4502b2dd416cc0d2e0470ec383a 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,16 @@ 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;
}
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_thunk.cc ('k') | ppapi/thunk/ppb_image_capture_config_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698