| Index: third_party/WebKit/Source/platform/TracedValue.cpp
|
| diff --git a/third_party/WebKit/Source/platform/TracedValue.cpp b/third_party/WebKit/Source/platform/TracedValue.cpp
|
| deleted file mode 100644
|
| index 75b8fca9f081a81ccb51c982caae9148bdc3c601..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/platform/TracedValue.cpp
|
| +++ /dev/null
|
| @@ -1,91 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "platform/TracedValue.h"
|
| -
|
| -#include "wtf/PtrUtil.h"
|
| -#include "wtf/text/StringUTF8Adaptor.h"
|
| -
|
| -namespace blink {
|
| -
|
| -std::unique_ptr<TracedValue> TracedValue::create() {
|
| - return wrapUnique(new TracedValue());
|
| -}
|
| -
|
| -TracedValue::TracedValue() {}
|
| -
|
| -TracedValue::~TracedValue() {}
|
| -
|
| -void TracedValue::setInteger(const char* name, int value) {
|
| - m_tracedValue.SetIntegerWithCopiedName(name, value);
|
| -}
|
| -
|
| -void TracedValue::setDouble(const char* name, double value) {
|
| - m_tracedValue.SetDoubleWithCopiedName(name, value);
|
| -}
|
| -
|
| -void TracedValue::setBoolean(const char* name, bool value) {
|
| - m_tracedValue.SetBooleanWithCopiedName(name, value);
|
| -}
|
| -
|
| -void TracedValue::setString(const char* name, const String& value) {
|
| - StringUTF8Adaptor adaptor(value);
|
| - m_tracedValue.SetStringWithCopiedName(name, adaptor.asStringPiece());
|
| -}
|
| -
|
| -void TracedValue::beginDictionary(const char* name) {
|
| - m_tracedValue.BeginDictionaryWithCopiedName(name);
|
| -}
|
| -
|
| -void TracedValue::beginArray(const char* name) {
|
| - m_tracedValue.BeginArrayWithCopiedName(name);
|
| -}
|
| -
|
| -void TracedValue::endDictionary() {
|
| - m_tracedValue.EndDictionary();
|
| -}
|
| -
|
| -void TracedValue::pushInteger(int value) {
|
| - m_tracedValue.AppendInteger(value);
|
| -}
|
| -
|
| -void TracedValue::pushDouble(double value) {
|
| - m_tracedValue.AppendDouble(value);
|
| -}
|
| -
|
| -void TracedValue::pushBoolean(bool value) {
|
| - m_tracedValue.AppendBoolean(value);
|
| -}
|
| -
|
| -void TracedValue::pushString(const String& value) {
|
| - StringUTF8Adaptor adaptor(value);
|
| - m_tracedValue.AppendString(adaptor.asStringPiece());
|
| -}
|
| -
|
| -void TracedValue::beginArray() {
|
| - m_tracedValue.BeginArray();
|
| -}
|
| -
|
| -void TracedValue::beginDictionary() {
|
| - m_tracedValue.BeginDictionary();
|
| -}
|
| -
|
| -void TracedValue::endArray() {
|
| - m_tracedValue.EndArray();
|
| -}
|
| -
|
| -String TracedValue::toString() const {
|
| - return String(m_tracedValue.ToString().c_str());
|
| -}
|
| -
|
| -void TracedValue::AppendAsTraceFormat(std::string* out) const {
|
| - m_tracedValue.AppendAsTraceFormat(out);
|
| -}
|
| -
|
| -void TracedValue::EstimateTraceMemoryOverhead(
|
| - base::trace_event::TraceEventMemoryOverhead* overhead) {
|
| - m_tracedValue.EstimateTraceMemoryOverhead(overhead);
|
| -}
|
| -
|
| -} // namespace blink
|
|
|