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

Side by Side Diff: net/url_request/url_request_unittest.cc

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/url_request/url_request_unittest.h" 5 #include "net/url_request/url_request_unittest.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 11 matching lines...) Expand all
22 #include "base/string_piece.h" 22 #include "base/string_piece.h"
23 #include "base/string_util.h" 23 #include "base/string_util.h"
24 #include "net/base/load_flags.h" 24 #include "net/base/load_flags.h"
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "net/base/net_module.h" 26 #include "net/base/net_module.h"
27 #include "net/base/net_util.h" 27 #include "net/base/net_util.h"
28 #include "net/base/ssl_test_util.h" 28 #include "net/base/ssl_test_util.h"
29 #include "net/disk_cache/disk_cache.h" 29 #include "net/disk_cache/disk_cache.h"
30 #include "net/http/http_cache.h" 30 #include "net/http/http_cache.h"
31 #include "net/http/http_network_layer.h" 31 #include "net/http/http_network_layer.h"
32 #include "net/http/http_response_headers.h"
32 #include "net/proxy/proxy_service.h" 33 #include "net/proxy/proxy_service.h"
33 #include "net/url_request/url_request.h" 34 #include "net/url_request/url_request.h"
34 #include "testing/gtest/include/gtest/gtest.h" 35 #include "testing/gtest/include/gtest/gtest.h"
35 #include "testing/platform_test.h" 36 #include "testing/platform_test.h"
36 37
37 using base::Time; 38 using base::Time;
38 39
39 namespace { 40 namespace {
40 41
41 class URLRequestHttpCacheContext : public URLRequestContext { 42 class URLRequestHttpCacheContext : public URLRequestContext {
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 int64 file_size = 0; 1085 int64 file_size = 0;
1085 file_util::GetFileSize(app_path, &file_size); 1086 file_util::GetFileSize(app_path, &file_size);
1086 1087
1087 EXPECT_TRUE(!r.is_pending()); 1088 EXPECT_TRUE(!r.is_pending());
1088 EXPECT_EQ(1, d.response_started_count()); 1089 EXPECT_EQ(1, d.response_started_count());
1089 EXPECT_FALSE(d.received_data_before_response()); 1090 EXPECT_FALSE(d.received_data_before_response());
1090 EXPECT_EQ(d.bytes_received(), 0); 1091 EXPECT_EQ(d.bytes_received(), 0);
1091 } 1092 }
1092 } 1093 }
1093 1094
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698