| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <math.h> // ceil | 5 #include <math.h> // ceil |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "net/base/completion_callback.h" | 8 #include "net/base/completion_callback.h" |
| 9 #include "net/base/mock_host_resolver.h" | 9 #include "net/base/mock_host_resolver.h" |
| 10 #include "net/base/ssl_config_service_defaults.h" | 10 #include "net/base/ssl_config_service_defaults.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 SimpleGetHelperResult out = SimpleGetHelper(data_reads); | 183 SimpleGetHelperResult out = SimpleGetHelper(data_reads); |
| 184 EXPECT_EQ(OK, out.rv); | 184 EXPECT_EQ(OK, out.rv); |
| 185 EXPECT_EQ("HTTP/1.1 200 OK", out.status_line); | 185 EXPECT_EQ("HTTP/1.1 200 OK", out.status_line); |
| 186 EXPECT_EQ("hello!", out.response_data); | 186 EXPECT_EQ("hello!", out.response_data); |
| 187 } | 187 } |
| 188 | 188 |
| 189 } // namespace net | 189 } // namespace net |
| 190 | 190 |
| OLD | NEW |