chromium/third_party/grpc/src/src/core/lib/channel/channel_trace.cc

//
//
// Copyright 2017 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//

#include <grpc/support/port_platform.h>

#include "src/core/lib/channel/channel_trace.h"

#include <algorithm>
#include <string>
#include <utility>

#include <grpc/support/alloc.h>

#include "src/core/lib/channel/channelz.h"
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_internal.h"

namespace grpc_core {
namespace channelz {

ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data,
                                     RefCountedPtr<BaseNode> referenced_entity)
    :{}

ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data)
    :{}

ChannelTrace::TraceEvent::~TraceEvent() {}

ChannelTrace::ChannelTrace(size_t max_event_memory)
    :{}

ChannelTrace::~ChannelTrace() {}

void ChannelTrace::AddTraceEventHelper(TraceEvent* new_trace_event) {}

void ChannelTrace::AddTraceEvent(Severity severity, const grpc_slice& data) {}

void ChannelTrace::AddTraceEventWithReference(
    Severity severity, const grpc_slice& data,
    RefCountedPtr<BaseNode> referenced_entity) {}

namespace {

const char* severity_string(ChannelTrace::Severity severity) {}

}  // anonymous namespace

Json ChannelTrace::TraceEvent::RenderTraceEvent() const {}

Json ChannelTrace::RenderJson() const {}

}  // namespace channelz
}  // namespace grpc_core