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

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: resolve ramant's comment, using std:: for .cc 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 <map>
8 #include <string>
9
7 #include "base/stl_util.h" 10 #include "base/stl_util.h"
8 #include "net/quic/crypto/proof_verifier.h" 11 #include "net/quic/crypto/proof_verifier.h"
9 #include "net/quic/quic_connection.h" 12 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_flow_controller.h" 13 #include "net/quic/quic_flow_controller.h"
11 #include "net/quic/quic_headers_stream.h" 14 #include "net/quic/quic_headers_stream.h"
12 #include "net/ssl/ssl_info.h" 15 #include "net/ssl/ssl_info.h"
13 16
14 using base::StringPiece; 17 using base::StringPiece;
15 using base::hash_map; 18 using base::hash_map;
16 using base::hash_set; 19 using base::hash_set;
17 using std::make_pair; 20 using std::make_pair;
21 using std::map;
18 using std::max; 22 using std::max;
23 using std::string;
19 using std::vector; 24 using std::vector;
20 25
21 namespace net { 26 namespace net {
22 27
23 #define ENDPOINT (is_server() ? "Server: " : " Client: ") 28 #define ENDPOINT (is_server() ? "Server: " : " Client: ")
24 29
25 // We want to make sure we delete any closed streams in a safe manner. 30 // 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 31 // 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 32 // us and the stream, so we can delete any streams when we return from
28 // processing. 33 // processing.
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 for (DataStreamMap::iterator it = stream_map_.begin(); 780 for (DataStreamMap::iterator it = stream_map_.begin();
776 it != stream_map_.end(); ++it) { 781 it != stream_map_.end(); ++it) {
777 if (it->second->flow_controller()->IsBlocked()) { 782 if (it->second->flow_controller()->IsBlocked()) {
778 return true; 783 return true;
779 } 784 }
780 } 785 }
781 return false; 786 return false;
782 } 787 }
783 788
784 } // namespace net 789 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698