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

Unified Diff: net/filter/filter.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu 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 | « net/filter/brotli_filter_unittest.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter.h
diff --git a/net/filter/filter.h b/net/filter/filter.h
index 31d08d4980fc4880dc27b7abf195c970eab19a90..39f82e72deeb105ba36ad8933efcd7ef50bc1c36 100644
--- a/net/filter/filter.h
+++ b/net/filter/filter.h
@@ -48,13 +48,13 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "net/base/net_export.h"
#include "net/base/sdch_manager.h"
@@ -308,7 +308,7 @@ class NET_EXPORT_PRIVATE Filter {
int buffer_size);
// An optional filter to process output from this filter.
- scoped_ptr<Filter> next_filter_;
+ std::unique_ptr<Filter> next_filter_;
// Remember what status or local filter last returned so we can better handle
// chained filters.
« no previous file with comments | « net/filter/brotli_filter_unittest.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698