Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9a1b77364fd21f18c0bdbdec1b7abca0f6867323$
//
#include "libcef_dll/cpptoc/end_tracing_callback_cpptoc.h"
namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
@ -37,7 +38,6 @@ void CEF_CALLBACK end_tracing_callback_on_end_tracing_complete(
} // namespace
// CONSTRUCTOR - Do not edit by hand.
CefEndTracingCallbackCppToC::CefEndTracingCallbackCppToC() {
@ -45,18 +45,26 @@ CefEndTracingCallbackCppToC::CefEndTracingCallbackCppToC() {
end_tracing_callback_on_end_tracing_complete;
}
template<> CefRefPtr<CefEndTracingCallback> CefCppToCRefCounted<CefEndTracingCallbackCppToC,
CefEndTracingCallback, cef_end_tracing_callback_t>::UnwrapDerived(
CefWrapperType type, cef_end_tracing_callback_t* s) {
template <>
CefRefPtr<CefEndTracingCallback> CefCppToCRefCounted<
CefEndTracingCallbackCppToC,
CefEndTracingCallback,
cef_end_tracing_callback_t>::UnwrapDerived(CefWrapperType type,
cef_end_tracing_callback_t* s) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
}
#if DCHECK_IS_ON()
template<> base::AtomicRefCount CefCppToCRefCounted<CefEndTracingCallbackCppToC,
CefEndTracingCallback, cef_end_tracing_callback_t>::DebugObjCt = 0;
template <>
base::AtomicRefCount
CefCppToCRefCounted<CefEndTracingCallbackCppToC,
CefEndTracingCallback,
cef_end_tracing_callback_t>::DebugObjCt = 0;
#endif
template<> CefWrapperType CefCppToCRefCounted<CefEndTracingCallbackCppToC,
CefEndTracingCallback, cef_end_tracing_callback_t>::kWrapperType =
template <>
CefWrapperType CefCppToCRefCounted<CefEndTracingCallbackCppToC,
CefEndTracingCallback,
cef_end_tracing_callback_t>::kWrapperType =
WT_END_TRACING_CALLBACK;