| Index: chrome/browser/metrics/metrics_reporting_state.cc
|
| diff --git a/chrome/browser/ui/options/options_util.cc b/chrome/browser/metrics/metrics_reporting_state.cc
|
| similarity index 89%
|
| rename from chrome/browser/ui/options/options_util.cc
|
| rename to chrome/browser/metrics/metrics_reporting_state.cc
|
| index 41efdc2b96925792e86e6d964bef00872c35f414..a80650a3f1fdc660cae561b7a798901f2ff98dd2 100644
|
| --- a/chrome/browser/ui/options/options_util.cc
|
| +++ b/chrome/browser/metrics/metrics_reporting_state.cc
|
| @@ -2,15 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/options/options_util.h"
|
| +#include "chrome/browser/metrics/metrics_reporting_state.h"
|
|
|
| #include "base/threading/thread_restrictions.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/installer/util/google_update_settings.h"
|
| #include "components/metrics/metrics_service.h"
|
|
|
| -// static
|
| -bool OptionsUtil::ResolveMetricsReportingEnabled(bool enabled) {
|
| +bool ResolveMetricsReportingEnabled(bool enabled) {
|
| // GoogleUpdateSettings touches the disk from the UI thread. MetricsService
|
| // also calls GoogleUpdateSettings below. http://crbug/62626
|
| base::ThreadRestrictions::ScopedAllowIO allow_io;
|
|
|