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

Side by Side Diff: third_party/WebKit/Source/platform/tracing/TracedValue.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/tracing/TracedValue.h" 5 #include "platform/tracing/TracedValue.h"
6 6
7 #include "wtf/PtrUtil.h" 7 #include "wtf/PtrUtil.h"
8 #include "wtf/text/StringUTF8Adaptor.h" 8 #include "wtf/text/StringUTF8Adaptor.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 std::unique_ptr<TracedValue> TracedValue::create() { 12 std::unique_ptr<TracedValue> TracedValue::create() {
13 return wrapUnique(new TracedValue()); 13 return WTF::wrapUnique(new TracedValue());
14 } 14 }
15 15
16 TracedValue::TracedValue() {} 16 TracedValue::TracedValue() {}
17 17
18 TracedValue::~TracedValue() {} 18 TracedValue::~TracedValue() {}
19 19
20 void TracedValue::setInteger(const char* name, int value) { 20 void TracedValue::setInteger(const char* name, int value) {
21 m_tracedValue.SetIntegerWithCopiedName(name, value); 21 m_tracedValue.SetIntegerWithCopiedName(name, value);
22 } 22 }
23 23
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void TracedValue::AppendAsTraceFormat(std::string* out) const { 82 void TracedValue::AppendAsTraceFormat(std::string* out) const {
83 m_tracedValue.AppendAsTraceFormat(out); 83 m_tracedValue.AppendAsTraceFormat(out);
84 } 84 }
85 85
86 void TracedValue::EstimateTraceMemoryOverhead( 86 void TracedValue::EstimateTraceMemoryOverhead(
87 base::trace_event::TraceEventMemoryOverhead* overhead) { 87 base::trace_event::TraceEventMemoryOverhead* overhead) {
88 m_tracedValue.EstimateTraceMemoryOverhead(overhead); 88 m_tracedValue.EstimateTraceMemoryOverhead(overhead);
89 } 89 }
90 90
91 } // namespace blink 91 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698