Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove URLFetcher related code that are not used in gcm_unittest.cc. #2370

Merged
merged 1 commit into from
May 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions components/gcm_driver/gcm_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#include "google_apis/gcm/protocol/mcs.pb.h"
#include "net/test/gtest_util.h"
#include "net/test/scoped_disable_exit_on_dfatal.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_test_util.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_network_connection_tracker.h"
Expand Down Expand Up @@ -325,9 +323,6 @@ class GCMClientImplTest : public testing::Test,
AutoAdvancingTestClock* clock() const {
return static_cast<AutoAdvancingTestClock*>(gcm_client_->clock_);
}
net::TestURLFetcherFactory* url_fetcher_factory() {
return &url_fetcher_factory_;
}
network::TestURLLoaderFactory* url_loader_factory() {
return &test_url_loader_factory_;
}
Expand All @@ -353,8 +348,6 @@ class GCMClientImplTest : public testing::Test,

std::unique_ptr<GCMClientImpl> gcm_client_;

net::TestURLFetcherFactory url_fetcher_factory_;

scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;

// Injected to GCM client.
Expand Down