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

@@ -2,16 +2,14 @@
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#include "include/wrapper/cef_closure_task.h"
#include "include/base/cef_callback.h"
#include "include/wrapper/cef_closure_task.h"
namespace {
class CefClosureTask : public CefTask {
public:
explicit CefClosureTask(const base::Closure& closure)
: closure_(closure) {
}
explicit CefClosureTask(const base::Closure& closure) : closure_(closure) {}
// CefTask method
virtual void Execute() OVERRIDE {
@@ -36,7 +34,8 @@ bool CefPostTask(CefThreadId threadId, const base::Closure& closure) {
return CefPostTask(threadId, new CefClosureTask(closure));
}
bool CefPostDelayedTask(CefThreadId threadId, const base::Closure& closure,
bool CefPostDelayedTask(CefThreadId threadId,
const base::Closure& closure,
int64 delay_ms) {
return CefPostDelayedTask(threadId, new CefClosureTask(closure), delay_ms);
}