OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "content/public/browser/background_tracing_config.h" |
| 6 |
| 7 #include "content/public/browser/background_tracing_manager.h" |
| 8 #include "content/public/browser/background_tracing_preemptive_config.h" |
| 9 #include "content/public/browser/background_tracing_reactive_config.h" |
| 10 #include "content/public/browser/background_tracing_upload_sink.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 BackgroundTracingConfig::BackgroundTracingConfig(Mode mode) : mode(mode) { |
| 15 } |
| 16 |
| 17 BackgroundTracingConfig::~BackgroundTracingConfig() { |
| 18 } |
| 19 |
| 20 BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig() |
| 21 : BackgroundTracingConfig(BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE), |
| 22 category_preset(BackgroundTracingConfig::BENCHMARK) { |
| 23 } |
| 24 |
| 25 BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() { |
| 26 } |
| 27 |
| 28 BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig() |
| 29 : BackgroundTracingConfig(BackgroundTracingConfig::REACTIVE_TRACING_MODE) { |
| 30 } |
| 31 |
| 32 BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() { |
| 33 } |
| 34 |
| 35 } // namespace content |
OLD | NEW |