| Index: content/public/browser/background_tracing_config.cc
|
| diff --git a/content/public/browser/background_tracing_config.cc b/content/public/browser/background_tracing_config.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..204be64ef2dd514bb16050cf3e7c1d8724a75a40
|
| --- /dev/null
|
| +++ b/content/public/browser/background_tracing_config.cc
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2015 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 "content/public/browser/background_tracing_config.h"
|
| +
|
| +#include "content/public/browser/background_tracing_manager.h"
|
| +#include "content/public/browser/background_tracing_preemptive_config.h"
|
| +#include "content/public/browser/background_tracing_reactive_config.h"
|
| +#include "content/public/browser/background_tracing_upload_sink.h"
|
| +
|
| +namespace content {
|
| +
|
| +BackgroundTracingConfig::BackgroundTracingConfig(Mode mode) : mode(mode) {
|
| +}
|
| +
|
| +BackgroundTracingConfig::~BackgroundTracingConfig() {
|
| +}
|
| +
|
| +BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig()
|
| + : BackgroundTracingConfig(BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE),
|
| + category_preset(BackgroundTracingConfig::BENCHMARK) {
|
| +}
|
| +
|
| +BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() {
|
| +}
|
| +
|
| +BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig()
|
| + : BackgroundTracingConfig(BackgroundTracingConfig::REACTIVE_TRACING_MODE) {
|
| +}
|
| +
|
| +BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() {
|
| +}
|
| +
|
| +} // namespace content
|
|
|