| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 165bf37aaafac32b370109297fbcd70c6021dfa4..9fb8a4c65669900a171b13ceb67a930346dbd939 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -40,7 +40,6 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h"
|
| #include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
|
| -#include "components/data_usage/core/data_use_aggregator.h"
|
| #include "components/net_log/chrome_net_log.h"
|
| #include "components/policy/core/common/policy_service.h"
|
| #include "components/proxy_config/pref_proxy_config_tracker.h"
|
| @@ -108,6 +107,7 @@
|
|
|
| #if defined(OS_ANDROID)
|
| #include "base/android/build_info.h"
|
| +#include "chrome/browser/android/datausage/external_data_use_observer_android.h"
|
| #include "chrome/browser/android/net/external_estimate_provider_android.h"
|
| #endif
|
|
|
| @@ -583,6 +583,12 @@ void IOThread::Init() {
|
| globals_->data_use_aggregator.get(),
|
| true /* is_data_usage_off_the_record */);
|
|
|
| +#if defined(OS_ANDROID)
|
| + globals_->external_data_use_observer.reset(
|
| + new chrome::android::ExternalDataUseObserverAndroid(
|
| + globals_->data_use_aggregator.get()));
|
| +#endif
|
| +
|
| // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432
|
| // is fixed.
|
| tracked_objects::ScopedTracker tracking_profile4(
|
|
|