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

Unified Diff: content/browser/streams/stream_context.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
« no previous file with comments | « content/browser/streams/stream.cc ('k') | content/browser/streams/stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/streams/stream_context.h
diff --git a/content/browser/streams/stream_context.h b/content/browser/streams/stream_context.h
index ad8f65cb6383a2cc0c9663b35c99135f54985cd2..075ae3e7431e4eaf67c83c3f1ef839b22f53ab9d 100644
--- a/content/browser/streams/stream_context.h
+++ b/content/browser/streams/stream_context.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_
#define CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/common/content_export.h"
@@ -45,7 +46,7 @@ class StreamContext
void DeleteOnCorrectThread() const;
- scoped_ptr<StreamRegistry> registry_;
+ std::unique_ptr<StreamRegistry> registry_;
};
struct StreamContextDeleter {
« no previous file with comments | « content/browser/streams/stream.cc ('k') | content/browser/streams/stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698