Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1601)

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Test resources fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc
index 1c18e38b0d4d821f39eff4fbbd433a9e8ec28e64..2a35e067ecf039d17a946c8fd6c6f26475f2986f 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc
@@ -57,9 +57,10 @@ class TestDataReductionProxyDebugUIService
TestDataReductionProxyDebugUIService(
const DataReductionProxyNetworkDelegate::ProxyConfigGetter& getter,
const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner,
- const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner)
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
+ const std::string& app_locale)
: ContentDataReductionProxyDebugUIService(
- getter, ui_task_runner, io_task_runner) {
+ getter, ui_task_runner, io_task_runner, app_locale) {
}
~TestDataReductionProxyDebugUIService() override {
@@ -95,7 +96,8 @@ class DataReductionProxyDebugResourceThrottleTest : public testing::Test {
content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::UI),
content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::IO)));
+ content::BrowserThread::IO),
+ std::string()));
params_.reset(new TestDataReductionProxyParams(0, 0));
resource_throttle_.reset(new TestDataReductionProxyDebugResourceThrottle(
request_.get(), content::RESOURCE_TYPE_MAIN_FRAME,

Powered by Google App Engine
This is Rietveld 408576698