From 09af43cd43d771ed93b7e6ee67c0447fdbaa8fbe Mon Sep 17 00:00:00 2001 From: Chris Mumford Date: Tue, 22 Oct 2019 21:45:44 +0000 Subject: [PATCH] Removed unnecessary include of testing/gmock_mutant.h. Nothing in gmock_mutant.h was used in any of these source files. TBR=jam@chromium.org Bug: 1007833, 806952 Change-Id: Ifbfebfa78bfb6774dbcaed865e8127f24408419d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874060 Commit-Queue: Chris Mumford Reviewed-by: Chris Mumford Cr-Commit-Position: refs/heads/master@{#708369} --- .../core/prefetch/prefetch_dispatcher_impl_unittest.cc | 1 - .../primary_account_access_token_fetcher_unittest.cc | 3 --- content/browser/download/download_manager_impl_unittest.cc | 1 - .../browser/api/cast_channel/cast_channel_apitest.cc | 1 - media/audio/audio_input_device_unittest.cc | 1 - media/audio/win/audio_low_latency_output_win_unittest.cc | 7 ------- net/http/http_stream_factory_job_controller_unittest.cc | 1 - net/quic/quic_chromium_client_stream_test.cc | 7 +------ remoting/host/chromoting_host_unittest.cc | 1 - remoting/host/config_file_watcher_unittest.cc | 1 - remoting/host/daemon_process_unittest.cc | 1 - remoting/host/desktop_process_unittest.cc | 1 - remoting/host/host_status_logger_unittest.cc | 1 - remoting/host/win/rdp_client_unittest.cc | 1 - 14 files changed, 1 insertion(+), 27 deletions(-) diff --git a/components/offline_pages/core/prefetch/prefetch_dispatcher_impl_unittest.cc b/components/offline_pages/core/prefetch/prefetch_dispatcher_impl_unittest.cc index 9982cb73614bb9..c805b14b7ab460 100644 --- a/components/offline_pages/core/prefetch/prefetch_dispatcher_impl_unittest.cc +++ b/components/offline_pages/core/prefetch/prefetch_dispatcher_impl_unittest.cc @@ -44,7 +44,6 @@ #include "net/url_request/url_request_test_util.h" #include "testing/gmock/include/gmock/gmock-matchers.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" diff --git a/components/signin/public/identity_manager/primary_account_access_token_fetcher_unittest.cc b/components/signin/public/identity_manager/primary_account_access_token_fetcher_unittest.cc index b08033c76d732e..c6ae8526d58d66 100644 --- a/components/signin/public/identity_manager/primary_account_access_token_fetcher_unittest.cc +++ b/components/signin/public/identity_manager/primary_account_access_token_fetcher_unittest.cc @@ -13,12 +13,9 @@ #include "components/signin/public/identity_manager/access_token_info.h" #include "components/signin/public/identity_manager/identity_test_environment.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using base::MockCallback; -using testing::CallbackToFunctor; -using testing::InvokeWithoutArgs; using testing::StrictMock; namespace signin { diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc index d091995007916a..88513e940073d8 100644 --- a/content/browser/download/download_manager_impl_unittest.cc +++ b/content/browser/download/download_manager_impl_unittest.cc @@ -44,7 +44,6 @@ #include "content/public/test/browser_task_environment.h" #include "content/public/test/test_browser_context.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/origin.h" diff --git a/extensions/browser/api/cast_channel/cast_channel_apitest.cc b/extensions/browser/api/cast_channel/cast_channel_apitest.cc index 8787a78d2859fe..fde69701161350 100644 --- a/extensions/browser/api/cast_channel/cast_channel_apitest.cc +++ b/extensions/browser/api/cast_channel/cast_channel_apitest.cc @@ -35,7 +35,6 @@ #include "net/base/net_errors.h" #include "net/traffic_annotation/network_traffic_annotation_test_helper.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" using ::cast_channel::CastMessage; using ::cast_channel::CastSocket; diff --git a/media/audio/audio_input_device_unittest.cc b/media/audio/audio_input_device_unittest.cc index 942097505b879a..16f041469a7ac5 100644 --- a/media/audio/audio_input_device_unittest.cc +++ b/media/audio/audio_input_device_unittest.cc @@ -14,7 +14,6 @@ #include "base/sync_socket.h" #include "base/test/task_environment.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using base::CancelableSyncSocket; diff --git a/media/audio/win/audio_low_latency_output_win_unittest.cc b/media/audio/win/audio_low_latency_output_win_unittest.cc index a56ab63aac7772..3005903aa20a75 100644 --- a/media/audio/win/audio_low_latency_output_win_unittest.cc +++ b/media/audio/win/audio_low_latency_output_win_unittest.cc @@ -34,18 +34,11 @@ #include "media/base/seekable_buffer.h" #include "media/base/test_data_util.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using ::base::ThreadTaskRunnerHandle; using ::testing::_; -using ::testing::AnyNumber; -using ::testing::AtLeast; -using ::testing::Between; -using ::testing::CreateFunctor; using ::testing::DoAll; -using ::testing::Gt; -using ::testing::InvokeWithoutArgs; using ::testing::NotNull; using ::testing::Return; diff --git a/net/http/http_stream_factory_job_controller_unittest.cc b/net/http/http_stream_factory_job_controller_unittest.cc index d49c99454018ec..4711f4b92cad21 100644 --- a/net/http/http_stream_factory_job_controller_unittest.cc +++ b/net/http/http_stream_factory_job_controller_unittest.cc @@ -52,7 +52,6 @@ #include "net/third_party/quiche/src/quic/test_tools/mock_random.h" #include "net/traffic_annotation/network_traffic_annotation_test_helper.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/origin.h" diff --git a/net/quic/quic_chromium_client_stream_test.cc b/net/quic/quic_chromium_client_stream_test.cc index fa9f5d76024492..28ab40537f6317 100644 --- a/net/quic/quic_chromium_client_stream_test.cc +++ b/net/quic/quic_chromium_client_stream_test.cc @@ -27,14 +27,9 @@ #include "net/third_party/quiche/src/quic/test_tools/quic_test_utils.h" #include "net/traffic_annotation/network_traffic_annotation_test_helper.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" -using testing::AnyNumber; -using testing::CreateFunctor; -using testing::Invoke; -using testing::Return; -using testing::StrEq; using testing::_; +using testing::Return; namespace net { namespace test { diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc index a066bbb2c1bf00..e48d3cf9802ee7 100644 --- a/remoting/host/chromoting_host_unittest.cc +++ b/remoting/host/chromoting_host_unittest.cc @@ -29,7 +29,6 @@ #include "remoting/protocol/session_config.h" #include "remoting/protocol/transport_context.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using ::remoting::protocol::MockClientStub; diff --git a/remoting/host/config_file_watcher_unittest.cc b/remoting/host/config_file_watcher_unittest.cc index 9f941285544df9..c41f79b358beb9 100644 --- a/remoting/host/config_file_watcher_unittest.cc +++ b/remoting/host/config_file_watcher_unittest.cc @@ -14,7 +14,6 @@ #include "remoting/base/auto_thread.h" #include "remoting/base/auto_thread_task_runner.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using testing::_; diff --git a/remoting/host/daemon_process_unittest.cc b/remoting/host/daemon_process_unittest.cc index b8fb8be7507e76..857868f60f4431 100644 --- a/remoting/host/daemon_process_unittest.cc +++ b/remoting/host/daemon_process_unittest.cc @@ -23,7 +23,6 @@ #include "remoting/host/chromoting_messages.h" #include "remoting/host/desktop_session.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using testing::_; diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc index f50ecf4a8b1899..e0a0847d1aec4c 100644 --- a/remoting/host/desktop_process_unittest.cc +++ b/remoting/host/desktop_process_unittest.cc @@ -34,7 +34,6 @@ #include "remoting/protocol/fake_desktop_capturer.h" #include "remoting/protocol/protocol_mock_objects.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" using testing::_; diff --git a/remoting/host/host_status_logger_unittest.cc b/remoting/host/host_status_logger_unittest.cc index 96685af6190a65..e79f19aeb045bc 100644 --- a/remoting/host/host_status_logger_unittest.cc +++ b/remoting/host/host_status_logger_unittest.cc @@ -10,7 +10,6 @@ #include "remoting/signaling/mock_signal_strategy.h" #include "remoting/signaling/xmpp_log_to_server.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" diff --git a/remoting/host/win/rdp_client_unittest.cc b/remoting/host/win/rdp_client_unittest.cc index e970f23340333d..aa9839795bd5a7 100644 --- a/remoting/host/win/rdp_client_unittest.cc +++ b/remoting/host/win/rdp_client_unittest.cc @@ -20,7 +20,6 @@ #include "remoting/host/screen_resolution.h" #include "remoting/host/win/wts_terminal_monitor.h" #include "testing/gmock/include/gmock/gmock.h" -#include "testing/gmock_mutant.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"