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_manager.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 BackgroundTracingConfig::BackgroundTracingConfig(Mode m) : |
| 10 mode(m) { |
| 11 } |
| 12 |
| 13 BackgroundTracingConfig::~BackgroundTracingConfig() { |
| 14 } |
| 15 |
| 16 bool BackgroundTracingConfig::FromDict(const base::DictionaryValue*) { |
| 17 // TODO(simonhatch): Implement this. |
| 18 CHECK(false); |
| 19 return false; |
| 20 } |
| 21 |
| 22 void BackgroundTracingConfig::IntoDict(base::DictionaryValue*) { |
| 23 // TODO(simonhatch): Implement this. |
| 24 CHECK(false); |
| 25 } |
| 26 |
| 27 BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig() : |
| 28 BackgroundTracingConfig( |
| 29 BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE), |
| 30 category_preset(BackgroundTracingConfig::BENCHMARK) { |
| 31 } |
| 32 |
| 33 BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() { |
| 34 } |
| 35 |
| 36 bool BackgroundTracingPreemptiveConfig::FromDict(const base::DictionaryValue*) { |
| 37 // TODO(simonhatch): Implement this. |
| 38 CHECK(false); |
| 39 return false; |
| 40 } |
| 41 |
| 42 void BackgroundTracingPreemptiveConfig::IntoDict(base::DictionaryValue*) { |
| 43 // TODO(simonhatch): Implement this. |
| 44 CHECK(false); |
| 45 } |
| 46 |
| 47 BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig() : |
| 48 BackgroundTracingConfig( |
| 49 BackgroundTracingConfig::REACTIVE_TRACING_MODE) { |
| 50 } |
| 51 |
| 52 BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() { |
| 53 } |
| 54 |
| 55 bool BackgroundTracingReactiveConfig::FromDict(const base::DictionaryValue*) { |
| 56 // TODO(simonhatch): Implement this. |
| 57 CHECK(false); |
| 58 return false; |
| 59 } |
| 60 |
| 61 void BackgroundTracingReactiveConfig::IntoDict(base::DictionaryValue*) { |
| 62 // TODO(simonhatch): Implement this. |
| 63 CHECK(false); |
| 64 } |
| 65 |
| 66 } |
| 67 // namespace content |
OLD | NEW |