Skip to content

Commit

Permalink
Remove includes for net/base/completion_callback.h in //components
Browse files Browse the repository at this point in the history
This include is no longer used since net::CompletionCallback has now
been replaced by net::Completion{Once|Repeating}Callback everywhere,
so we can remove those stale includes and keep only the ones needed
for those other callbacks.

Bug: 807724
Change-Id: I3bd48512bf96f8c2a260fc1d36bddff954653309
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1549084
Reviewed-by: Colin Blundell <blundell@chromium.org>
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Cr-Commit-Position: refs/heads/master@{#647277}
  • Loading branch information
mariospr authored and Commit Bot committed Apr 3, 2019
1 parent 5764d78 commit afbd8d5
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/cast_channel/mojo_data_pump.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "base/bind.h"
#include "base/memory/ptr_util.h"
#include "net/base/completion_callback.h"
#include "net/base/completion_once_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

Expand Down
2 changes: 1 addition & 1 deletion components/certificate_transparency/log_dns_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/string_piece.h"
#include "net/base/completion_callback.h"
#include "net/base/completion_once_callback.h"
#include "net/base/net_errors.h"
#include "net/base/network_change_notifier.h"
#include "net/log/net_log_with_source.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
#include "net/base/completion_callback.h"
#include "net/base/host_port_pair.h"
#include "net/base/load_flags.h"
#include "net/base/network_change_notifier.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "base/threading/thread_checker.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
#include "components/data_use_measurement/core/data_use_user_data.h"
#include "net/base/completion_callback.h"
#include "net/base/layered_network_delegate.h"
#include "net/proxy_resolution/proxy_retry_info.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "base/macros.h"
#include "components/data_use_measurement/core/data_use_measurement.h"
#include "net/base/completion_callback.h"
#include "net/base/layered_network_delegate.h"

namespace net {
Expand Down
2 changes: 1 addition & 1 deletion components/drive/local_file_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/sequenced_task_runner.h"
#include "net/base/completion_callback.h"
#include "net/base/completion_once_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

Expand Down
1 change: 0 additions & 1 deletion components/safe_browsing/browser/threat_details.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "components/security_interstitials/content/unsafe_resource.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents_observer.h"
#include "net/base/completion_callback.h"

namespace history {
class HistoryService;
Expand Down
1 change: 0 additions & 1 deletion components/safe_browsing/browser/threat_details_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "net/base/completion_callback.h"

namespace network {
class SimpleURLLoader;
Expand Down
1 change: 0 additions & 1 deletion components/safe_browsing/browser/threat_details_history.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "base/task/cancelable_task_tracker.h"
#include "components/history/core/browser/history_service_observer.h"
#include "content/public/browser/browser_thread.h"
#include "net/base/completion_callback.h"

namespace safe_browsing {

Expand Down

0 comments on commit afbd8d5

Please sign in to comment.