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

Unified Diff: ppapi/thunk/ppb_net_address_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_net_address_thunk.cc
diff --git a/ppapi/thunk/ppb_net_address_thunk.cc b/ppapi/thunk/ppb_net_address_thunk.cc
index f8916fe9716c86adaa56b4a425b3bac33ae46e4f..6ddf8c3cccbe502ec35585105799e84a6579e221 100644
--- a/ppapi/thunk/ppb_net_address_thunk.cc
+++ b/ppapi/thunk/ppb_net_address_thunk.cc
@@ -16,9 +16,8 @@ namespace thunk {
namespace {
-PP_Resource CreateFromIPv4Address(
- PP_Instance instance,
- const struct PP_NetAddress_IPv4* ipv4_addr) {
+PP_Resource CreateFromIPv4Address(PP_Instance instance,
+ const struct PP_NetAddress_IPv4* ipv4_addr) {
VLOG(4) << "PPB_NetAddress::CreateFromIPv4Address()";
EnterResourceCreation enter(instance);
if (enter.failed())
@@ -27,9 +26,8 @@ PP_Resource CreateFromIPv4Address(
ipv4_addr);
}
-PP_Resource CreateFromIPv6Address(
- PP_Instance instance,
- const struct PP_NetAddress_IPv6* ipv6_addr) {
+PP_Resource CreateFromIPv6Address(PP_Instance instance,
+ const struct PP_NetAddress_IPv6* ipv6_addr) {
VLOG(4) << "PPB_NetAddress::CreateFromIPv6Address()";
EnterResourceCreation enter(instance);
if (enter.failed())
@@ -79,14 +77,9 @@ PP_Bool DescribeAsIPv6Address(PP_Resource addr,
}
const PPB_NetAddress_1_0 g_ppb_netaddress_thunk_1_0 = {
- &CreateFromIPv4Address,
- &CreateFromIPv6Address,
- &IsNetAddress,
- &GetFamily,
- &DescribeAsString,
- &DescribeAsIPv4Address,
- &DescribeAsIPv6Address
-};
+ &CreateFromIPv4Address, &CreateFromIPv6Address, &IsNetAddress,
+ &GetFamily, &DescribeAsString, &DescribeAsIPv4Address,
+ &DescribeAsIPv6Address};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698