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

Side by Side Diff: net/quic/quic_framer.cc

Issue 1901173003: Cleanup: Migrate references from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_flow_controller_test.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_framer.h" 5 #include "net/quic/quic_framer.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory>
10
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/stl_util.h" 13 #include "base/stl_util.h"
12 #include "net/quic/crypto/crypto_framer.h" 14 #include "net/quic/crypto/crypto_framer.h"
13 #include "net/quic/crypto/crypto_handshake_message.h" 15 #include "net/quic/crypto/crypto_handshake_message.h"
14 #include "net/quic/crypto/crypto_protocol.h" 16 #include "net/quic/crypto/crypto_protocol.h"
15 #include "net/quic/crypto/quic_decrypter.h" 17 #include "net/quic/crypto/quic_decrypter.h"
16 #include "net/quic/crypto/quic_encrypter.h" 18 #include "net/quic/crypto/quic_encrypter.h"
17 #include "net/quic/quic_bug_tracker.h" 19 #include "net/quic/quic_bug_tracker.h"
18 #include "net/quic/quic_data_reader.h" 20 #include "net/quic/quic_data_reader.h"
(...skipping 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2256 2258
2257 bool QuicFramer::RaiseError(QuicErrorCode error) { 2259 bool QuicFramer::RaiseError(QuicErrorCode error) {
2258 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) 2260 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error)
2259 << " detail: " << detailed_error_; 2261 << " detail: " << detailed_error_;
2260 set_error(error); 2262 set_error(error);
2261 visitor_->OnError(this); 2263 visitor_->OnError(this);
2262 return false; 2264 return false;
2263 } 2265 }
2264 2266
2265 } // namespace net 2267 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_flow_controller_test.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698