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

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

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
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 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void SendResponse(); 45 void SendResponse();
46 46
47 // Sends a basic 500 response using SendHeaders for the headers and WriteData 47 // Sends a basic 500 response using SendHeaders for the headers and WriteData
48 // for the body 48 // for the body
49 void SendErrorResponse(); 49 void SendErrorResponse();
50 50
51 void SendHeadersAndBody(const BalsaHeaders& response_headers, 51 void SendHeadersAndBody(const BalsaHeaders& response_headers,
52 base::StringPiece body); 52 base::StringPiece body);
53 53
54 BalsaHeaders headers_; 54 BalsaHeaders headers_;
55 string body_; 55 std::string body_;
56 56
57 // Buffer into which response header data is read. 57 // Buffer into which response header data is read.
58 scoped_refptr<GrowableIOBuffer> read_buf_; 58 scoped_refptr<GrowableIOBuffer> read_buf_;
59 bool request_headers_received_; 59 bool request_headers_received_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStream); 61 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStream);
62 }; 62 };
63 63
64 } // namespace tools 64 } // namespace tools
65 } // namespace net 65 } // namespace net
66 66
67 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 67 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/packet_dropping_test_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698