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

Unified Diff: content/browser/tracing/background_tracing_rule.h

Issue 1874893002: Convert //content/browser 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/tracing/background_tracing_rule.h
diff --git a/content/browser/tracing/background_tracing_rule.h b/content/browser/tracing/background_tracing_rule.h
index 3277716bd226665b38bbcfeac15ea8fb8b121d5e..236ef916dcf41c0ac4aeceb066f206a5c1f906c1 100644
--- a/content/browser/tracing/background_tracing_rule.h
+++ b/content/browser/tracing/background_tracing_rule.h
@@ -33,10 +33,10 @@ class CONTENT_EXPORT BackgroundTracingRule {
// Probability that we should allow a tigger to happen.
double trigger_chance() const { return trigger_chance_; }
- static scoped_ptr<BackgroundTracingRule> PreemptiveRuleFromDict(
+ static std::unique_ptr<BackgroundTracingRule> PreemptiveRuleFromDict(
const base::DictionaryValue* dict);
- static scoped_ptr<BackgroundTracingRule> ReactiveRuleFromDict(
+ static std::unique_ptr<BackgroundTracingRule> ReactiveRuleFromDict(
const base::DictionaryValue* dict,
BackgroundTracingConfigImpl::CategoryPreset category_preset);
« no previous file with comments | « content/browser/tracing/background_tracing_manager_impl.cc ('k') | content/browser/tracing/background_tracing_rule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698