1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

content / public / browser / background_tracing_config.cc [blame]

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/background_tracing_config.h"

#include <utility>

#include "content/browser/tracing/background_tracing_config_impl.h"

namespace content {

BackgroundTracingConfig::BackgroundTracingConfig(TracingMode tracing_mode)
    : tracing_mode_(tracing_mode) {}

BackgroundTracingConfig::~BackgroundTracingConfig() {}

std::unique_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict(
    base::Value::Dict&& dict) {
  return BackgroundTracingConfigImpl::FromDict(std::move(dict));
}

}  // namespace content