summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 09:43:26 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 09:43:26 +0000
commit597cf6e323c297ad741ee17b07ca6788e1124178 (patch)
treea7d33f6a74eaff3c1010a8e8bdffe6dbda9d9bfd /net/url_request
parent7bf730951345c5a49ae5fe2418ca3ab04f92ce28 (diff)
downloadchromium_src-597cf6e323c297ad741ee17b07ca6788e1124178.zip
chromium_src-597cf6e323c297ad741ee17b07ca6788e1124178.tar.gz
chromium_src-597cf6e323c297ad741ee17b07ca6788e1124178.tar.bz2
Reduce header dependencies in net/
TEST=none Review URL: http://codereview.chromium.org/115870 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.h2
-rw-r--r--net/url_request/url_request_file_dir_job.cc1
-rw-r--r--net/url_request/url_request_file_job.cc1
-rw-r--r--net/url_request/url_request_file_job.h5
-rw-r--r--net/url_request/url_request_filter.h2
-rw-r--r--net/url_request/url_request_ftp_job.cc1
-rw-r--r--net/url_request/url_request_inet_job.cc1
-rw-r--r--net/url_request/url_request_job_manager.cc1
-rw-r--r--net/url_request/url_request_new_ftp_job.cc1
-rw-r--r--net/url_request/url_request_new_ftp_job.h1
-rw-r--r--net/url_request/url_request_simple_job.cc1
-rw-r--r--net/url_request/url_request_test_job.cc1
-rw-r--r--net/url_request/url_request_view_cache_job.cc1
13 files changed, 15 insertions, 4 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index bb4e18a..7798fa7 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -9,7 +9,6 @@
#include <string>
#include <vector>
-#include "base/file_path.h"
#include "base/linked_ptr.h"
#include "base/logging.h"
#include "base/ref_counted.h"
@@ -29,6 +28,7 @@ class UploadData;
class X509Certificate;
} // namespace net
+class FilePath;
class URLRequestContext;
class URLRequestJob;
diff --git a/net/url_request/url_request_file_dir_job.cc b/net/url_request/url_request_file_dir_job.cc
index 1b37304..c242ef9 100644
--- a/net/url_request/url_request_file_dir_job.cc
+++ b/net/url_request/url_request_file_dir_job.cc
@@ -9,6 +9,7 @@
#include "base/string_util.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
+#include "net/base/io_buffer.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request.h"
diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc
index b369216..7941424 100644
--- a/net/url_request/url_request_file_job.cc
+++ b/net/url_request/url_request_file_job.cc
@@ -25,6 +25,7 @@
#include "base/string_util.h"
#include "base/worker_pool.h"
#include "googleurl/src/gurl.h"
+#include "net/base/io_buffer.h"
#include "net/base/load_flags.h"
#include "net/base/mime_util.h"
#include "net/base/net_errors.h"
diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h
index 6cb16b3..108a7cf 100644
--- a/net/url_request/url_request_file_job.h
+++ b/net/url_request/url_request_file_job.h
@@ -8,13 +8,16 @@
#include <string>
#include "base/file_path.h"
-#include "base/file_util.h"
#include "net/base/completion_callback.h"
#include "net/base/file_stream.h"
#include "net/http/http_byte_range.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_job.h"
+namespace file_util {
+struct FileInfo;
+}
+
// A request job that handles reading file URLs
class URLRequestFileJob : public URLRequestJob {
public:
diff --git a/net/url_request/url_request_filter.h b/net/url_request/url_request_filter.h
index 1ea92a3..2b74277 100644
--- a/net/url_request/url_request_filter.h
+++ b/net/url_request/url_request_filter.h
@@ -24,9 +24,9 @@
#include "base/hash_tables.h"
#include "net/url_request/url_request.h"
-#include "net/url_request/url_request_job.h"
class GURL;
+class URLRequestJob;
class URLRequestFilter {
public:
diff --git a/net/url_request/url_request_ftp_job.cc b/net/url_request/url_request_ftp_job.cc
index 13287a8..bdfb0b3 100644
--- a/net/url_request/url_request_ftp_job.cc
+++ b/net/url_request/url_request_ftp_job.cc
@@ -13,6 +13,7 @@
#include "net/base/auth.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
+#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/base/wininet_util.h"
#include "net/url_request/url_request.h"
diff --git a/net/url_request/url_request_inet_job.cc b/net/url_request/url_request_inet_job.cc
index 5cc14d5..e642bce 100644
--- a/net/url_request/url_request_inet_job.cc
+++ b/net/url_request/url_request_inet_job.cc
@@ -10,6 +10,7 @@
#include "base/string_util.h"
#include "googleurl/src/gurl.h"
#include "net/base/auth.h"
+#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/base/wininet_util.h"
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc
index bbc40e1..d964532 100644
--- a/net/url_request/url_request_job_manager.cc
+++ b/net/url_request/url_request_job_manager.cc
@@ -9,6 +9,7 @@
#include "build/build_config.h"
#include "base/string_util.h"
#include "net/base/load_flags.h"
+#include "net/base/net_errors.h"
#include "net/url_request/url_request_about_job.h"
#include "net/url_request/url_request_error_job.h"
#include "net/url_request/url_request_file_job.h"
diff --git a/net/url_request/url_request_new_ftp_job.cc b/net/url_request/url_request_new_ftp_job.cc
index d6e0ada..47dfef5 100644
--- a/net/url_request/url_request_new_ftp_job.cc
+++ b/net/url_request/url_request_new_ftp_job.cc
@@ -7,6 +7,7 @@
#include "base/file_version_info.h"
#include "base/message_loop.h"
#include "net/base/escape.h"
+#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/ftp/ftp_directory_parser.h"
#include "net/ftp/ftp_response_info.h"
diff --git a/net/url_request/url_request_new_ftp_job.h b/net/url_request/url_request_new_ftp_job.h
index 6c0a9fb..1a90a5e 100644
--- a/net/url_request/url_request_new_ftp_job.h
+++ b/net/url_request/url_request_new_ftp_job.h
@@ -6,7 +6,6 @@
#define NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_
#include <string>
-#include <vector>
#include "net/base/auth.h"
#include "net/base/completion_callback.h"
diff --git a/net/url_request/url_request_simple_job.cc b/net/url_request/url_request_simple_job.cc
index 7c02875..2f23d58 100644
--- a/net/url_request/url_request_simple_job.cc
+++ b/net/url_request/url_request_simple_job.cc
@@ -5,6 +5,7 @@
#include "net/url_request/url_request_simple_job.h"
#include "base/message_loop.h"
+#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/url_request/url_request_status.h"
diff --git a/net/url_request/url_request_test_job.cc b/net/url_request/url_request_test_job.cc
index 4953b19..b1e3b5c 100644
--- a/net/url_request/url_request_test_job.cc
+++ b/net/url_request/url_request_test_job.cc
@@ -8,6 +8,7 @@
#include "base/message_loop.h"
#include "base/string_util.h"
+#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_request.h"
diff --git a/net/url_request/url_request_view_cache_job.cc b/net/url_request/url_request_view_cache_job.cc
index 81431c6..6fd4e23 100644
--- a/net/url_request/url_request_view_cache_job.cc
+++ b/net/url_request/url_request_view_cache_job.cc
@@ -6,6 +6,7 @@
#include "base/string_util.h"
#include "net/base/escape.h"
+#include "net/base/io_buffer.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
#include "net/http/http_response_headers.h"