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

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

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 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include <sstream> 10 #include <sstream>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/platform_thread.h" 18 #include "base/platform_thread.h"
19 #include "base/process_util.h" 19 #include "base/process_util.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/thread.h" 21 #include "base/thread.h"
22 #include "base/time.h" 22 #include "base/time.h"
23 #include "base/waitable_event.h" 23 #include "base/waitable_event.h"
24 #include "net/base/io_buffer.h" 24 #include "net/base/io_buffer.h"
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "net/http/http_network_layer.h" 26 #include "net/http/http_network_layer.h"
27 #include "net/url_request/url_request.h" 27 #include "net/url_request/url_request.h"
28 #include "net/url_request/url_request_context.h"
28 #include "net/proxy/proxy_service.h" 29 #include "net/proxy/proxy_service.h"
29 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
30 #include "googleurl/src/url_util.h" 31 #include "googleurl/src/url_util.h"
31 32
32 const int kHTTPDefaultPort = 1337; 33 const int kHTTPDefaultPort = 1337;
33 const int kFTPDefaultPort = 1338; 34 const int kFTPDefaultPort = 1338;
34 35
35 const std::string kDefaultHostName("localhost"); 36 const std::string kDefaultHostName("localhost");
36 37
37 using base::TimeDelta; 38 using base::TimeDelta;
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 command_line->push_back("python"); 739 command_line->push_back("python");
739 command_line->push_back(WideToUTF8(testserver_path)); 740 command_line->push_back(WideToUTF8(testserver_path));
740 command_line->push_back(" -f "); 741 command_line->push_back(" -f ");
741 command_line->push_back("--data-dir=" + WideToUTF8(test_data_directory)); 742 command_line->push_back("--data-dir=" + WideToUTF8(test_data_directory));
742 command_line->push_back("--port=" + port_str_); 743 command_line->push_back("--port=" + port_str_);
743 } 744 }
744 #endif 745 #endif
745 }; 746 };
746 747
747 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ 748 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698