Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: content/public/browser/background_tracing_config.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698