| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index b53eb25208edbe3ca67334c87793d17c8f9083ed..16d5d01b175a4e052f7587ac75782bd549b6093d 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -872,14 +872,7 @@ bool ProfileIOData::IsOffTheRecord() const {
|
|
|
| void ProfileIOData::InitializeMetricsEnabledStateOnUIThread() {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| -#if defined(OS_CHROMEOS)
|
| - // Just fetch the value from ChromeOS' settings while we're on the UI thread.
|
| - // TODO(stevet): For now, this value is only set on profile initialization.
|
| - // We will want to do something similar to the PrefMember method below in the
|
| - // future to more accurately capture this state.
|
| - chromeos::CrosSettings::Get()->GetBoolean(chromeos::kStatsReportingPref,
|
| - &enable_metrics_);
|
| -#elif defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID)
|
| // TODO(dwkang): rename or unify the pref for UMA once we have conclusion
|
| // in crbugs.com/246495.
|
| // Android has it's own preferences for metrics / crash uploading.
|
| @@ -894,16 +887,12 @@ void ProfileIOData::InitializeMetricsEnabledStateOnUIThread() {
|
| g_browser_process->local_state());
|
| enable_metrics_.MoveToThread(
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
|
| -#endif // defined(OS_CHROMEOS)
|
| +#endif // defined(OS_ANDROID)
|
| }
|
|
|
| bool ProfileIOData::GetMetricsEnabledStateOnIOThread() const {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| -#if defined(OS_CHROMEOS)
|
| - return enable_metrics_;
|
| -#else
|
| return enable_metrics_.GetValue();
|
| -#endif // defined(OS_CHROMEOS)
|
| }
|
|
|
| bool ProfileIOData::IsDataReductionProxyEnabled() const {
|
|
|