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

Side by Side Diff: net/tools/quic/quic_client.h

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 // A toy client, which connects to a specified port and sends QUIC 5 // A toy client, which connects to a specified port and sends QUIC
6 // request to that endpoint. 6 // request to that endpoint.
7 7
8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_
9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_ 9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_
10 10
11 #include <stddef.h> 11 #include <cstdint>
12
13 #include <memory> 12 #include <memory>
14 #include <string> 13 #include <string>
15 14
16 #include "base/command_line.h" 15 #include "base/command_line.h"
17 #include "base/macros.h" 16 #include "base/macros.h"
18 #include "base/strings/string_piece.h" 17 #include "base/strings/string_piece.h"
19 #include "net/base/ip_address.h" 18 #include "net/base/ip_address.h"
20 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
21 #include "net/quic/quic_client_push_promise_index.h" 20 #include "net/quic/quic_client_push_promise_index.h"
22 #include "net/quic/quic_config.h" 21 #include "net/quic/quic_config.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 std::unique_ptr<QuicPacketReader> packet_reader_; 299 std::unique_ptr<QuicPacketReader> packet_reader_;
301 300
302 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_; 301 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_;
303 302
304 DISALLOW_COPY_AND_ASSIGN(QuicClient); 303 DISALLOW_COPY_AND_ASSIGN(QuicClient);
305 }; 304 };
306 305
307 } // namespace net 306 } // namespace net
308 307
309 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ 308 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698