simonhatch | 0b01619 | 2015-05-22 19:14:02 | [diff] [blame] | 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 | |
oysteine | f4ce0b06 | 2015-08-26 01:33:06 | [diff] [blame] | 7 | #include "content/browser/tracing/background_tracing_config_impl.h" |
| 8 | |
simonhatch | 0b01619 | 2015-05-22 19:14:02 | [diff] [blame] | 9 | namespace content { |
| 10 | |
oysteine | f4ce0b06 | 2015-08-26 01:33:06 | [diff] [blame] | 11 | BackgroundTracingConfig::BackgroundTracingConfig(TracingMode tracing_mode) |
| 12 | : tracing_mode_(tracing_mode) {} |
simonhatch | 0b01619 | 2015-05-22 19:14:02 | [diff] [blame] | 13 | |
oysteine | f4ce0b06 | 2015-08-26 01:33:06 | [diff] [blame] | 14 | BackgroundTracingConfig::~BackgroundTracingConfig() {} |
| 15 | |
dcheng | 6003e0b | 2016-04-09 18:42:34 | [diff] [blame] | 16 | std::unique_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict( |
oysteine | f4ce0b06 | 2015-08-26 01:33:06 | [diff] [blame] | 17 | const base::DictionaryValue* dict) { |
| 18 | return BackgroundTracingConfigImpl::FromDict(dict); |
simonhatch | 0b01619 | 2015-05-22 19:14:02 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | } // namespace content |