Skip to content

Commit

Permalink
IWYU for net_util.h included in header files.
Browse files Browse the repository at this point in the history
For most of the cases net_util.h should not be necessary to be included
in header files.

BUG=None
[email protected]
[email protected]

Review URL: https://codereview.chromium.org/1431513008

Cr-Commit-Position: refs/heads/master@{#357988}
  • Loading branch information
tfarina authored and Commit bot committed Nov 5, 2015
1 parent a489de4 commit 1f2ab3f
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 15 deletions.
1 change: 0 additions & 1 deletion chrome/browser/local_discovery/device_description.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "base/time/time.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_util.h"

namespace local_discovery {

Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/local_discovery/privet_device_lister.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include "base/callback.h"
#include "base/time/time.h"
#include "chrome/browser/local_discovery/device_description.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_util.h"

namespace local_discovery {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/utility_process_host.h"
#include "net/base/net_util.h"
#include "net/dns/mdns_client.h"
#include "net/socket/socket_descriptor.h"
#include "ui/base/l10n/l10n_util.h"
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/media/webrtc_logging_handler_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "gpu/config/gpu_info.h"
#include "net/base/address_family.h"
#include "net/base/ip_address_number.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request_context_getter.h"

#if defined(OS_LINUX)
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/media/webrtc_logging_handler_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "chrome/common/partial_circular_buffer.h"
#include "content/public/browser/browser_message_filter.h"
#include "content/public/browser/render_process_host.h"
#include "net/base/net_util.h"
#include "net/base/network_interfaces.h"

namespace net {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "net/base/net_util.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"

Expand Down
1 change: 0 additions & 1 deletion chrome/browser/safe_browsing/client_side_model_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/browser_thread.h"
#include "net/base/net_util.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"

Expand Down
2 changes: 1 addition & 1 deletion chrome/common/local_discovery/service_discovery_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "base/time/time.h"
#include "net/base/address_family.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_util.h"
#include "net/base/ip_address_number.h"

namespace net {
class MDnsClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "chrome/common/local_discovery/local_discovery_messages.h"
#include "chrome/common/local_discovery/service_discovery_client_impl.h"
#include "content/public/utility/utility_thread.h"
#include "net/base/net_util.h"
#include "net/socket/socket_descriptor.h"
#include "net/udp/datagram_server_socket.h"

Expand Down
6 changes: 2 additions & 4 deletions cloud_print/gcp20/prototype/dns_response_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "net/base/io_buffer.h"
#include "net/base/net_util.h"
#include "net/base/ip_address_number.h"
#include "net/dns/dns_protocol.h"

namespace net {

class IOBufferWithSize;

} // namespace net
}

// Record for storing response data.
struct DnsResponseRecord {
Expand Down
2 changes: 1 addition & 1 deletion cloud_print/gcp20/prototype/service_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <string>

#include "net/base/net_util.h"
#include "net/base/ip_address_number.h"

// Stores information about service.
struct ServiceParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/prefs/testing_pref_service.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
#include "net/base/net_util.h"
#include "net/log/test_net_log.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_test_util.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "net/base/net_util.h"
#include "url/third_party/mozilla/url_parse.h"

namespace autofill {
Expand Down
4 changes: 3 additions & 1 deletion content/renderer/p2p/socket_dispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
#include "content/common/p2p_socket_type.h"
#include "content/renderer/p2p/network_list_manager.h"
#include "ipc/message_filter.h"
#include "net/base/net_util.h"
#include "net/base/ip_address_number.h"
#include "net/base/ip_endpoint.h"
#include "net/base/network_interfaces.h"

namespace base {
class SingleThreadTaskRunner;
Expand Down
1 change: 1 addition & 0 deletions content/renderer/render_thread_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
#include "media/renderers/gpu_video_accelerator_factories.h"
#include "mojo/common/common_type_converters.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/base/port_util.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "skia/ext/event_tracer_impl.h"
Expand Down

0 comments on commit 1f2ab3f

Please sign in to comment.