Background tracing: Simplify public interface and isolate trigger logic
[chromium-blink-merge.git] / content / public / browser / background_tracing_config.cc
blob1efde15ac2a29071d70db6263d6c14698a96bd5b
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/browser/background_tracing_config.h"
7 #include "content/browser/tracing/background_tracing_config_impl.h"
9 namespace content {
11 BackgroundTracingConfig::BackgroundTracingConfig(TracingMode tracing_mode)
12 : tracing_mode_(tracing_mode) {}
14 BackgroundTracingConfig::~BackgroundTracingConfig() {}
16 scoped_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict(
17 const base::DictionaryValue* dict) {
18 return BackgroundTracingConfigImpl::FromDict(dict);
21 } // namespace content