summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:47:13 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:47:13 +0000
commitf1d9428ecf3a598fb8bc86c9e1f8707dc6bd73cb (patch)
tree674b70edcb7ba1059d8a7d22d5d57fac501a850b /net
parent03f57072cd19125c59fbc1d7c76f2856ca200850 (diff)
downloadchromium_src-f1d9428ecf3a598fb8bc86c9e1f8707dc6bd73cb.zip
chromium_src-f1d9428ecf3a598fb8bc86c9e1f8707dc6bd73cb.tar.gz
chromium_src-f1d9428ecf3a598fb8bc86c9e1f8707dc6bd73cb.tar.bz2
Revert 52336 - More header cleanup:
- Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/capturing_net_log.h1
-rw-r--r--net/base/file_stream_posix.cc1
-rw-r--r--net/base/file_stream_win.cc1
-rw-r--r--net/base/host_resolver_impl.cc1
-rw-r--r--net/base/listen_socket_unittest.h1
-rw-r--r--net/base/net_log.cc1
-rw-r--r--net/base/net_log.h6
-rw-r--r--net/base/net_util.cc1
-rw-r--r--net/http/http_auth_handler.h1
-rw-r--r--net/proxy/proxy_service.cc1
-rw-r--r--net/server/http_listen_socket.cc2
-rw-r--r--net/server/http_server_request_info.h1
-rw-r--r--net/tools/fetch/http_listen_socket.cc5
-rw-r--r--net/tools/fetch/http_server_request_info.h1
-rw-r--r--net/url_request/url_request.h2
-rw-r--r--net/url_request/url_request_job.cc1
16 files changed, 5 insertions, 22 deletions
diff --git a/net/base/capturing_net_log.h b/net/base/capturing_net_log.h
index cad2d26..2f95f7c 100644
--- a/net/base/capturing_net_log.h
+++ b/net/base/capturing_net_log.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
-#include "base/time.h"
#include "net/base/net_log.h"
namespace net {
diff --git a/net/base/file_stream_posix.cc b/net/base/file_stream_posix.cc
index ba91db2..2036260 100644
--- a/net/base/file_stream_posix.cc
+++ b/net/base/file_stream_posix.cc
@@ -17,7 +17,6 @@
#include "base/callback.h"
#include "base/eintr_wrapper.h"
#include "base/file_path.h"
-#include "base/histogram.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_util.h"
diff --git a/net/base/file_stream_win.cc b/net/base/file_stream_win.cc
index a50e7aa..8b7f090 100644
--- a/net/base/file_stream_win.cc
+++ b/net/base/file_stream_win.cc
@@ -7,7 +7,6 @@
#include <windows.h>
#include "base/file_path.h"
-#include "base/histogram.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "net/base/net_errors.h"
diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
index 9b19436..5685fc4 100644
--- a/net/base/host_resolver_impl.cc
+++ b/net/base/host_resolver_impl.cc
@@ -17,7 +17,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/debug_util.h"
-#include "base/histogram.h"
#include "base/lock.h"
#include "base/message_loop.h"
#include "base/stl_util-inl.h"
diff --git a/net/base/listen_socket_unittest.h b/net/base/listen_socket_unittest.h
index d43364a..7adea1e 100644
--- a/net/base/listen_socket_unittest.h
+++ b/net/base/listen_socket_unittest.h
@@ -16,7 +16,6 @@
#include <arpa/inet.h>
#endif
-#include "base/scoped_ptr.h"
#include "base/thread.h"
#include "base/basictypes.h"
#include "base/message_loop.h"
diff --git a/net/base/net_log.cc b/net/base/net_log.cc
index bd62f91..ace4a53 100644
--- a/net/base/net_log.cc
+++ b/net/base/net_log.cc
@@ -4,7 +4,6 @@
#include "net/base/net_log.h"
#include "base/string_util.h"
-#include "base/time.h"
#include "base/values.h"
namespace net {
diff --git a/net/base/net_log.h b/net/base/net_log.h
index 266b93a..2f82ed4 100644
--- a/net/base/net_log.h
+++ b/net/base/net_log.h
@@ -10,13 +10,11 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
+#include "base/scoped_ptr.h"
+#include "base/time.h"
class Value;
-namespace base {
-class TimeTicks;
-}
-
namespace net {
// NetLog is the destination for log messages generated by the network stack.
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index c7b6a6f..f60afcc 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -33,7 +33,6 @@
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/file_util.h"
-#include "base/histogram.h"
#include "base/i18n/file_util_icu.h"
#include "base/i18n/icu_string_conversions.h"
#include "base/i18n/time_formatting.h"
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h
index ad8c939..f919898 100644
--- a/net/http/http_auth_handler.h
+++ b/net/http/http_auth_handler.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/time.h"
#include "net/base/completion_callback.h"
#include "net/base/net_log.h"
#include "net/http/http_auth.h"
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index a613f6a9..5dee33c 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -8,7 +8,6 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
-#include "base/histogram.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "googleurl/src/gurl.h"
diff --git a/net/server/http_listen_socket.cc b/net/server/http_listen_socket.cc
index 16c664e..7711cd6 100644
--- a/net/server/http_listen_socket.cc
+++ b/net/server/http_listen_socket.cc
@@ -8,8 +8,6 @@
#include <arpa/inet.h>
#endif
-#include <map>
-
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/md5.h"
diff --git a/net/server/http_server_request_info.h b/net/server/http_server_request_info.h
index 84f767f..64f0a78a 100644
--- a/net/server/http_server_request_info.h
+++ b/net/server/http_server_request_info.h
@@ -6,7 +6,6 @@
#define NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_
#include <string>
-#include <map>
#include "net/http/http_request_info.h"
diff --git a/net/tools/fetch/http_listen_socket.cc b/net/tools/fetch/http_listen_socket.cc
index d0d6b97..e135322 100644
--- a/net/tools/fetch/http_listen_socket.cc
+++ b/net/tools/fetch/http_listen_socket.cc
@@ -2,14 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/tools/fetch/http_listen_socket.h"
-
-#include <map>
-
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_util.h"
+#include "net/tools/fetch/http_listen_socket.h"
#include "net/tools/fetch/http_server_request_info.h"
#include "net/tools/fetch/http_server_response_info.h"
diff --git a/net/tools/fetch/http_server_request_info.h b/net/tools/fetch/http_server_request_info.h
index fb45bdb..239d3b9 100644
--- a/net/tools/fetch/http_server_request_info.h
+++ b/net/tools/fetch/http_server_request_info.h
@@ -5,7 +5,6 @@
#ifndef NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_
#define NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_
-#include <map>
#include <string>
#include "net/http/http_request_info.h"
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 7256ec0..59aa9c4 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -10,10 +10,12 @@
#include <vector>
#include "base/leak_tracker.h"
+#include "base/linked_list.h"
#include "base/linked_ptr.h"
#include "base/logging.h"
#include "base/non_thread_safe.h"
#include "base/ref_counted.h"
+#include "base/scoped_ptr.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_states.h"
#include "net/base/net_log.h"
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index 4e737ba..486d8c0 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -4,7 +4,6 @@
#include "net/url_request/url_request_job.h"
-#include "base/histogram.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "net/base/auth.h"