Commit a2ef2236 authored by Sophie Chang's avatar Sophie Chang Committed by Chromium LUCI CQ

Remove content dep from components/drp/core/browser

Bug: 1154790
Change-Id: If4d9a70b41151d3f465976637a54aa826821bbfd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623717
Auto-Submit: Sophie Chang <sophiechang@chromium.org>
Commit-Queue: Michael Crouse <mcrouse@chromium.org>
Reviewed-by: default avatarMichael Crouse <mcrouse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842583}
parent 83e3446c
...@@ -47,7 +47,6 @@ if (is_android) { ...@@ -47,7 +47,6 @@ if (is_android) {
"//components/previews/core:core", "//components/previews/core:core",
"//components/variations", "//components/variations",
"//components/variations/net", "//components/variations/net",
"//content/public/browser",
"//crypto", "//crypto",
"//google_apis", "//google_apis",
"//net:net", "//net:net",
...@@ -81,7 +80,6 @@ static_library("browser") { ...@@ -81,7 +80,6 @@ static_library("browser") {
"//components/previews/core:core", "//components/previews/core:core",
"//components/variations", "//components/variations",
"//components/variations/net", "//components/variations/net",
"//content/public/browser",
"//crypto", "//crypto",
"//google_apis", "//google_apis",
"//net", "//net",
...@@ -173,8 +171,6 @@ source_set("unit_tests") { ...@@ -173,8 +171,6 @@ source_set("unit_tests") {
"//components/prefs:test_support", "//components/prefs:test_support",
"//components/previews/core", "//components/previews/core",
"//components/variations", "//components/variations",
"//content/public/browser",
"//content/test:test_support",
"//net:test_support", "//net:test_support",
"//services/network:network_service", "//services/network:network_service",
"//services/network:test_support", "//services/network:test_support",
......
...@@ -4,6 +4,4 @@ include_rules = [ ...@@ -4,6 +4,4 @@ include_rules = [
"+services/network/public", "+services/network/public",
"+services/network/test", "+services/network/test",
"+third_party/leveldatabase", "+third_party/leveldatabase",
"+content/public/browser",
"+content/public/test",
] ]
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "base/metrics/field_trial.h" #include "base/metrics/field_trial.h"
#include "base/run_loop.h" #include "base/run_loop.h"
#include "base/strings/string_number_conversions.h" #include "base/strings/string_number_conversions.h"
#include "base/test/task_environment.h"
#include "base/time/default_clock.h" #include "base/time/default_clock.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_test_utils.h" #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_test_utils.h"
...@@ -24,7 +25,6 @@ ...@@ -24,7 +25,6 @@
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h" #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "components/prefs/testing_pref_service.h" #include "components/prefs/testing_pref_service.h"
#include "content/public/test/browser_task_environment.h"
#include "net/proxy_resolution/proxy_info.h" #include "net/proxy_resolution/proxy_info.h"
#include "net/proxy_resolution/proxy_resolution_service.h" #include "net/proxy_resolution/proxy_resolution_service.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h" #include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
...@@ -52,10 +52,8 @@ class DataReductionProxyServiceTest : public testing::Test { ...@@ -52,10 +52,8 @@ class DataReductionProxyServiceTest : public testing::Test {
PrefService* prefs() { return &prefs_; } PrefService* prefs() { return &prefs_; }
protected:
content::BrowserTaskEnvironment task_environment_;
private: private:
base::test::TaskEnvironment task_environment_;
TestingPrefServiceSimple prefs_; TestingPrefServiceSimple prefs_;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment