| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/browser/background_tracing_config.h" | 5 #include "content/public/browser/background_tracing_config.h" |
| 6 | 6 |
| 7 #include "content/browser/tracing/background_tracing_config_impl.h" | 7 #include "content/browser/tracing/background_tracing_config_impl.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 BackgroundTracingConfig::BackgroundTracingConfig(TracingMode tracing_mode) | 11 BackgroundTracingConfig::BackgroundTracingConfig(TracingMode tracing_mode) |
| 12 : tracing_mode_(tracing_mode) {} | 12 : tracing_mode_(tracing_mode) {} |
| 13 | 13 |
| 14 BackgroundTracingConfig::~BackgroundTracingConfig() {} | 14 BackgroundTracingConfig::~BackgroundTracingConfig() {} |
| 15 | 15 |
| 16 scoped_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict( | 16 std::unique_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict( |
| 17 const base::DictionaryValue* dict) { | 17 const base::DictionaryValue* dict) { |
| 18 return BackgroundTracingConfigImpl::FromDict(dict); | 18 return BackgroundTracingConfigImpl::FromDict(dict); |
| 19 } | 19 } |
| 20 | 20 |
| 21 } // namespace content | 21 } // namespace content |
| OLD | NEW |