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

Unified Diff: content/public/browser/background_tracing_config.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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
« no previous file with comments | « content/public/browser/appcache_service.h ('k') | content/public/browser/background_tracing_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/background_tracing_config.h
diff --git a/content/public/browser/background_tracing_config.h b/content/public/browser/background_tracing_config.h
index b7af5bbad79182c3e6b59119a7578617d3a25f08..6cd614587e874f2ee38039f695b910540c9e24fc 100644
--- a/content/public/browser/background_tracing_config.h
+++ b/content/public/browser/background_tracing_config.h
@@ -5,7 +5,8 @@
#ifndef CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
#define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/trace_event/trace_event_impl.h"
#include "content/common/content_export.h"
@@ -27,7 +28,7 @@ class CONTENT_EXPORT BackgroundTracingConfig {
};
TracingMode tracing_mode() const { return tracing_mode_; }
- static scoped_ptr<BackgroundTracingConfig> FromDict(
+ static std::unique_ptr<BackgroundTracingConfig> FromDict(
const base::DictionaryValue* dict);
virtual void IntoDict(base::DictionaryValue* dict) const = 0;
« no previous file with comments | « content/public/browser/appcache_service.h ('k') | content/public/browser/background_tracing_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698