Lines Matching defs:base
5 #include "base/debug/trace_event_impl.h"
9 #include "base/debug/trace_event.h"
10 #include "base/format_macros.h"
11 #include "base/logging.h"
12 #include "base/strings/stringprintf.h"
13 #include "base/synchronization/waitable_event.h"
27 const base::debug::TraceEvent::TraceValue* arg_values,
28 const scoped_refptr<base::debug::ConvertableToTraceFormat>*
31 std::string out = base::StringPrintf("%c|%d|%s", phase, getpid(), name);
33 base::StringAppendF(&out, "-%" PRIx64, static_cast<uint64>(id));
36 for (int i = 0; i < base::debug::kTraceMaxNumArgs && arg_names[i]; ++i) {
45 base::debug::TraceEvent::AppendValueAsJSON(
61 void NoOpOutputCallback(base::WaitableEvent* complete_event,
62 const scoped_refptr<base::RefCountedString>&,
68 void EndChromeTracing(base::debug::TraceLog* trace_log,
69 base::WaitableEvent* complete_event) {
72 trace_log->Flush(base::Bind(&NoOpOutputCallback, complete_event));
77 namespace base {
117 FROM_HERE, base::Bind(&EndChromeTracing, Unretained(this),
162 std::string out = base::StringPrintf(
199 } // namespace base