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

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

Issue 1908723002: Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
Patch Set: Rebase 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
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 <cstdint>
8 #include <memory>
8 9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/stl_util.h" 12 #include "base/stl_util.h"
12 #include "net/quic/crypto/crypto_framer.h" 13 #include "net/quic/crypto/crypto_framer.h"
13 #include "net/quic/crypto/crypto_handshake_message.h" 14 #include "net/quic/crypto/crypto_handshake_message.h"
14 #include "net/quic/crypto/crypto_protocol.h" 15 #include "net/quic/crypto/crypto_protocol.h"
15 #include "net/quic/crypto/quic_decrypter.h" 16 #include "net/quic/crypto/quic_decrypter.h"
16 #include "net/quic/crypto/quic_encrypter.h" 17 #include "net/quic/crypto/quic_encrypter.h"
17 #include "net/quic/quic_bug_tracker.h" 18 #include "net/quic/quic_bug_tracker.h"
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2256 2257
2257 bool QuicFramer::RaiseError(QuicErrorCode error) { 2258 bool QuicFramer::RaiseError(QuicErrorCode error) {
2258 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) 2259 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error)
2259 << " detail: " << detailed_error_; 2260 << " detail: " << detailed_error_;
2260 set_error(error); 2261 set_error(error);
2261 visitor_->OnError(this); 2262 visitor_->OnError(this);
2262 return false; 2263 return false;
2263 } 2264 }
2264 2265
2265 } // namespace net 2266 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698