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

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

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant include <string> Created 6 years 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_session.h" 5 #include "net/quic/quic_session.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/crypto/proof_verifier.h" 8 #include "net/quic/crypto/proof_verifier.h"
9 #include "net/quic/quic_connection.h" 9 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_flow_controller.h" 10 #include "net/quic/quic_flow_controller.h"
11 #include "net/quic/quic_headers_stream.h" 11 #include "net/quic/quic_headers_stream.h"
12 #include "net/ssl/ssl_info.h" 12 #include "net/ssl/ssl_info.h"
13 13
14 using base::StringPiece; 14 using base::StringPiece;
15 using base::hash_map; 15 using base::hash_map;
16 using base::hash_set; 16 using base::hash_set;
17 using std::make_pair; 17 using std::make_pair;
18 using std::map;
18 using std::max; 19 using std::max;
20 using std::string;
19 using std::vector; 21 using std::vector;
20 22
21 namespace net { 23 namespace net {
22 24
23 #define ENDPOINT (is_server() ? "Server: " : " Client: ") 25 #define ENDPOINT (is_server() ? "Server: " : " Client: ")
24 26
25 // We want to make sure we delete any closed streams in a safe manner. 27 // We want to make sure we delete any closed streams in a safe manner.
26 // To avoid deleting a stream in mid-operation, we have a simple shim between 28 // To avoid deleting a stream in mid-operation, we have a simple shim between
27 // us and the stream, so we can delete any streams when we return from 29 // us and the stream, so we can delete any streams when we return from
28 // processing. 30 // processing.
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 for (DataStreamMap::iterator it = stream_map_.begin(); 777 for (DataStreamMap::iterator it = stream_map_.begin();
776 it != stream_map_.end(); ++it) { 778 it != stream_map_.end(); ++it) {
777 if (it->second->flow_controller()->IsBlocked()) { 779 if (it->second->flow_controller()->IsBlocked()) {
778 return true; 780 return true;
779 } 781 }
780 } 782 }
781 return false; 783 return false;
782 } 784 }
783 785
784 } // namespace net 786 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698