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

Unified Diff: net/tools/quic/test_tools/quic_test_client.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/quic/test_tools/quic_test_client.h ('k') | net/tools/quic/test_tools/quic_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index 3984046ee547c915f6d4a093973f06cec092864b..37f475906cfe981ea07b72e69992a58e8f7a4f8d 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -52,7 +52,7 @@ class RecordingProofVerifier : public ProofVerifier {
const string& signature,
const ProofVerifyContext* context,
string* error_details,
- scoped_ptr<ProofVerifyDetails>* details,
+ std::unique_ptr<ProofVerifyDetails>* details,
ProofVerifierCallback* callback) override {
common_name_.clear();
if (certs.empty()) {
@@ -311,7 +311,7 @@ ssize_t QuicTestClient::SendMessage(const HTTPMessage& message) {
// CHECK(message.body_chunks().empty())
// << "HTTPMessage::body_chunks not supported";
- scoped_ptr<BalsaHeaders> munged_headers(MungeHeaders(message.headers()));
+ std::unique_ptr<BalsaHeaders> munged_headers(MungeHeaders(message.headers()));
ssize_t ret = GetOrCreateStreamAndSendRequest(
(munged_headers.get() ? munged_headers.get() : message.headers()),
message.body(), message.has_complete_message(), nullptr);
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.h ('k') | net/tools/quic/test_tools/quic_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698