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

Unified Diff: ppapi/thunk/ppb_uma_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, 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_uma_private_thunk.cc
diff --git a/ppapi/thunk/ppb_uma_private_thunk.cc b/ppapi/thunk/ppb_uma_private_thunk.cc
index 299b64369b4d4c3ca82ff925eb73d93b03e0bfcd..8466c181848f83fe37cb2ae6ca3ef19da01efb3d 100644
--- a/ppapi/thunk/ppb_uma_private_thunk.cc
+++ b/ppapi/thunk/ppb_uma_private_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 private/ppb_uma_private.idl modified Thu Mar 13 11:54:51 2014.
+// From private/ppb_uma_private.idl modified Mon Apr 7 08:56:43 2014.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -27,12 +27,8 @@ void HistogramCustomTimes(PP_Instance instance,
EnterInstanceAPI<PPB_UMA_Singleton_API> enter(instance);
if (enter.failed())
return;
- enter.functions()->HistogramCustomTimes(instance,
- name,
- sample,
- min,
- max,
- bucket_count);
+ enter.functions()->HistogramCustomTimes(
+ instance, name, sample, min, max, bucket_count);
}
void HistogramCustomCounts(PP_Instance instance,
@@ -45,12 +41,8 @@ void HistogramCustomCounts(PP_Instance instance,
EnterInstanceAPI<PPB_UMA_Singleton_API> enter(instance);
if (enter.failed())
return;
- enter.functions()->HistogramCustomCounts(instance,
- name,
- sample,
- min,
- max,
- bucket_count);
+ enter.functions()->HistogramCustomCounts(
+ instance, name, sample, min, max, bucket_count);
}
void HistogramEnumeration(PP_Instance instance,
@@ -61,10 +53,8 @@ void HistogramEnumeration(PP_Instance instance,
EnterInstanceAPI<PPB_UMA_Singleton_API> enter(instance);
if (enter.failed())
return;
- enter.functions()->HistogramEnumeration(instance,
- name,
- sample,
- boundary_value);
+ enter.functions()->HistogramEnumeration(
+ instance, name, sample, boundary_value);
}
int32_t IsCrashReportingEnabled(PP_Instance instance,
@@ -73,16 +63,15 @@ int32_t IsCrashReportingEnabled(PP_Instance instance,
EnterInstanceAPI<PPB_UMA_Singleton_API> enter(instance, callback);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.functions()->IsCrashReportingEnabled(
- instance,
- enter.callback()));
+ return enter.SetResult(
+ enter.functions()->IsCrashReportingEnabled(instance, enter.callback()));
}
-const PPB_UMA_Private_0_3 g_ppb_uma_private_thunk_0_3 = {
- &HistogramCustomTimes,
- &HistogramCustomCounts,
- &HistogramEnumeration,
- &IsCrashReportingEnabled
+const PPB_UMA_Private_0_3 g_ppb_uma_private_thunk_0_3 = { //
+ &HistogramCustomTimes, //
+ &HistogramCustomCounts, //
+ &HistogramEnumeration, //
+ &IsCrashReportingEnabled //
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698