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

Side by Side Diff: net/quic/quic_stream_factory.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: fix missing part device_cloud_policy_manager_chromeos_unittest.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
« no previous file with comments | « net/quic/quic_spdy_server_stream.h ('k') | net/quic/quic_stream_sequencer.h » ('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_stream_factory.h" 5 #include "net/quic/quic_stream_factory.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/cpu.h" 9 #include "base/cpu.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 22 matching lines...) Expand all
33 #include "net/quic/quic_default_packet_writer.h" 33 #include "net/quic/quic_default_packet_writer.h"
34 #include "net/quic/quic_http_stream.h" 34 #include "net/quic/quic_http_stream.h"
35 #include "net/quic/quic_protocol.h" 35 #include "net/quic/quic_protocol.h"
36 #include "net/quic/quic_server_id.h" 36 #include "net/quic/quic_server_id.h"
37 #include "net/socket/client_socket_factory.h" 37 #include "net/socket/client_socket_factory.h"
38 38
39 #if defined(OS_WIN) 39 #if defined(OS_WIN)
40 #include "base/win/windows_version.h" 40 #include "base/win/windows_version.h"
41 #endif 41 #endif
42 42
43 using std::string;
44 using std::vector;
45
46 namespace net { 43 namespace net {
47 44
48 namespace { 45 namespace {
49 46
50 enum CreateSessionFailure { 47 enum CreateSessionFailure {
51 CREATION_ERROR_CONNECTING_SOCKET, 48 CREATION_ERROR_CONNECTING_SOCKET,
52 CREATION_ERROR_SETTING_RECEIVE_BUFFER, 49 CREATION_ERROR_SETTING_RECEIVE_BUFFER,
53 CREATION_ERROR_SETTING_SEND_BUFFER, 50 CREATION_ERROR_SETTING_SEND_BUFFER,
54 CREATION_ERROR_MAX 51 CREATION_ERROR_MAX
55 }; 52 };
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 http_server_properties_->ClearAlternateProtocol(server); 1073 http_server_properties_->ClearAlternateProtocol(server);
1077 http_server_properties_->SetAlternateProtocol( 1074 http_server_properties_->SetAlternateProtocol(
1078 server, alternate.port, alternate.protocol, 1); 1075 server, alternate.port, alternate.protocol, 1);
1079 DCHECK_EQ(QUIC, 1076 DCHECK_EQ(QUIC,
1080 http_server_properties_->GetAlternateProtocol(server).protocol); 1077 http_server_properties_->GetAlternateProtocol(server).protocol);
1081 DCHECK(http_server_properties_->WasAlternateProtocolRecentlyBroken( 1078 DCHECK(http_server_properties_->WasAlternateProtocolRecentlyBroken(
1082 server)); 1079 server));
1083 } 1080 }
1084 1081
1085 } // namespace net 1082 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_spdy_server_stream.h ('k') | net/quic/quic_stream_sequencer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698