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

Side by Side Diff: net/test/embedded_test_server/http_response.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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/test/embedded_test_server/http_request.h ('k') | net/test/scoped_disable_exit_on_dfatal.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 #ifndef NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_ 5 #ifndef NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_
6 #define NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_ 6 #define NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h"
13 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
14 #include "net/http/http_status_code.h" 14 #include "net/http/http_status_code.h"
15 15
16 namespace net { 16 namespace net {
17 namespace test_server { 17 namespace test_server {
18 18
19 // Callback called when the response is done being sent. 19 // Callback called when the response is done being sent.
20 using SendCompleteCallback = base::Callback<void(void)>; 20 using SendCompleteCallback = base::Callback<void(void)>;
21 21
22 // Callback called when the response is ready to be sent that takes the 22 // Callback called when the response is ready to be sent that takes the
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 std::string headers_; 93 std::string headers_;
94 const std::string contents_; 94 const std::string contents_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(RawHttpResponse); 96 DISALLOW_COPY_AND_ASSIGN(RawHttpResponse);
97 }; 97 };
98 98
99 } // namespace test_server 99 } // namespace test_server
100 } // namespace net 100 } // namespace net
101 101
102 #endif // NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_ 102 #endif // NET_TEST_EMBEDDED_TEST_SERVER_HTTP_RESPONSE_H_
OLDNEW
« no previous file with comments | « net/test/embedded_test_server/http_request.h ('k') | net/test/scoped_disable_exit_on_dfatal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698