| Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
|
| diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
|
| index d4e4dd9b1d79bcd2313f8ab92ffdecc6344ea54b..d29f016e23d22809ea3631ac795a4c3e5dc252d2 100644
|
| --- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
|
| +++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
|
| @@ -14,6 +14,10 @@
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h"
|
|
|
| +#if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING)
|
| +#include "components/data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.h"
|
| +#endif
|
| +
|
| namespace content {
|
| class BrowserContext;
|
| }
|
| @@ -59,5 +63,18 @@ CreateDataReductionProxyChromeIOData(
|
| ui_task_runner));
|
| data_reduction_proxy_io_data->InitOnUIThread(prefs);
|
|
|
| +#if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING)
|
| + scoped_ptr<data_reduction_proxy::ContentDataReductionProxyDebugUIService>
|
| + data_reduction_proxy_ui_service(
|
| + new data_reduction_proxy::ContentDataReductionProxyDebugUIService(
|
| + base::Bind(&data_reduction_proxy::DataReductionProxyConfigurator::
|
| + GetProxyConfigOnIOThread,
|
| + base::Unretained(
|
| + data_reduction_proxy_io_data->configurator())),
|
| + ui_task_runner, io_task_runner));
|
| + data_reduction_proxy_io_data->set_debug_ui_service(
|
| + data_reduction_proxy_ui_service.Pass());
|
| +#endif
|
| +
|
| return data_reduction_proxy_io_data.Pass();
|
| }
|
|
|