| OLD | NEW |
| 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_HTTP_HTTP_TRANSACTION_UNITTEST_H_ | 5 #ifndef NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ |
| 6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ | 6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ |
| 7 | 7 |
| 8 #include "net/http/http_transaction.h" | 8 #include "net/http/http_transaction.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 base::WeakPtr<MockNetworkTransaction> last_transaction_; | 297 base::WeakPtr<MockNetworkTransaction> last_transaction_; |
| 298 }; | 298 }; |
| 299 | 299 |
| 300 //----------------------------------------------------------------------------- | 300 //----------------------------------------------------------------------------- |
| 301 // helpers | 301 // helpers |
| 302 | 302 |
| 303 // read the transaction completely | 303 // read the transaction completely |
| 304 int ReadTransaction(net::HttpTransaction* trans, std::string* result); | 304 int ReadTransaction(net::HttpTransaction* trans, std::string* result); |
| 305 | 305 |
| 306 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ | 306 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ |
| OLD | NEW |