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

Side by Side Diff: net/tools/quic/quic_simple_server_stream.cc

Issue 2820423002: Move quic_flags.h from net/quic/core to net/quic/platform and split into api and impl. (Closed)
Patch Set: Created 3 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 #include "net/tools/quic/quic_simple_server_stream.h" 5 #include "net/tools/quic/quic_simple_server_stream.h"
6 6
7 #include <list> 7 #include <list>
8 #include <utility> 8 #include <utility>
9 9
10 #include "net/quic/core/quic_flags.h" 10 #include "net/quic/platform/api/quic_flags.h"
11 #include "net/quic/core/quic_spdy_stream.h" 11 #include "net/quic/core/quic_spdy_stream.h"
12 #include "net/quic/core/spdy_utils.h" 12 #include "net/quic/core/spdy_utils.h"
13 #include "net/quic/platform/api/quic_bug_tracker.h" 13 #include "net/quic/platform/api/quic_bug_tracker.h"
14 #include "net/quic/platform/api/quic_logging.h" 14 #include "net/quic/platform/api/quic_logging.h"
15 #include "net/quic/platform/api/quic_map_util.h" 15 #include "net/quic/platform/api/quic_map_util.h"
16 #include "net/quic/platform/api/quic_text_utils.h" 16 #include "net/quic/platform/api/quic_text_utils.h"
17 #include "net/spdy/spdy_protocol.h" 17 #include "net/spdy/spdy_protocol.h"
18 #include "net/tools/quic/quic_http_response_cache.h" 18 #include "net/tools/quic/quic_http_response_cache.h"
19 #include "net/tools/quic/quic_simple_server_session.h" 19 #include "net/tools/quic/quic_simple_server_session.h"
20 20
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 QUIC_DLOG(INFO) << "Stream " << id() << " writing trailers (fin = true): " 261 QUIC_DLOG(INFO) << "Stream " << id() << " writing trailers (fin = true): "
262 << response_trailers.DebugString(); 262 << response_trailers.DebugString();
263 WriteTrailers(std::move(response_trailers), nullptr); 263 WriteTrailers(std::move(response_trailers), nullptr);
264 } 264 }
265 265
266 const char* const QuicSimpleServerStream::kErrorResponseBody = "bad"; 266 const char* const QuicSimpleServerStream::kErrorResponseBody = "bad";
267 const char* const QuicSimpleServerStream::kNotFoundResponseBody = 267 const char* const QuicSimpleServerStream::kNotFoundResponseBody =
268 "file not found"; 268 "file not found";
269 269
270 } // namespace net 270 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_session_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698