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

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

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Add webui_resources.pak 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/content_data_reduction_proxy_debug_ui_service.cc
diff --git a/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc b/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc
index 9476fcd024c2d4e00cd55259351c22544dfa8b61..ecf7119d3a311f1696eda2fcdafc13317df54dd7 100644
--- a/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc
+++ b/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc
@@ -4,6 +4,8 @@
#include "components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.h"
+#include <string>
+
#include "components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.h"
#include "net/proxy/proxy_config.h"
@@ -13,10 +15,12 @@ ContentDataReductionProxyDebugUIService::
ContentDataReductionProxyDebugUIService(
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)
: proxy_config_getter_(getter) {
ui_manager_ = new DataReductionProxyDebugUIManager(ui_task_runner,
- io_task_runner);
+ io_task_runner,
+ app_locale);
}
ContentDataReductionProxyDebugUIService::

Powered by Google App Engine
This is Rietveld 408576698