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

Unified Diff: net/tools/balsa/balsa_headers_test.cc

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/tools/balsa/balsa_frame_test.cc ('k') | net/tools/cachetool/cachetool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/balsa/balsa_headers_test.cc
diff --git a/net/tools/balsa/balsa_headers_test.cc b/net/tools/balsa/balsa_headers_test.cc
index 3dc8eb33d2af2da7cc7270aae36f6241887c930a..98b9cc2c68c1a8990bd13e262562f67ea55d5dbd 100644
--- a/net/tools/balsa/balsa_headers_test.cc
+++ b/net/tools/balsa/balsa_headers_test.cc
@@ -5,10 +5,10 @@
#include "net/tools/balsa/balsa_headers.h"
#include <iterator>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
#include "net/tools/balsa/balsa_enums.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -25,8 +25,8 @@ class BalsaBufferTest : public ::testing::Test {
}
protected:
- scoped_ptr<BalsaBuffer> buffer_;
- scoped_ptr<BalsaBuffer> anotherBuffer_;
+ std::unique_ptr<BalsaBuffer> buffer_;
+ std::unique_ptr<BalsaBuffer> anotherBuffer_;
};
namespace {
@@ -36,7 +36,7 @@ class BalsaHeadersTest: public ::testing::Test {
void SetUp() override { headers_.reset(new BalsaHeaders); }
protected:
- scoped_ptr<BalsaHeaders> headers_;
+ std::unique_ptr<BalsaHeaders> headers_;
};
class StringBuffer {
« no previous file with comments | « net/tools/balsa/balsa_frame_test.cc ('k') | net/tools/cachetool/cachetool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698