summaryrefslogtreecommitdiffstats
path: root/components/metrics
diff options
context:
space:
mode:
Diffstat (limited to 'components/metrics')
-rw-r--r--components/metrics/client_info.h3
-rw-r--r--components/metrics/metrics_state_manager.cc3
2 files changed, 0 insertions, 6 deletions
diff --git a/components/metrics/client_info.h b/components/metrics/client_info.h
index 8fcaec2..733d087 100644
--- a/components/metrics/client_info.h
+++ b/components/metrics/client_info.h
@@ -28,9 +28,6 @@ struct ClientInfo {
// The date on which metrics reporting was enabled: represented as an epoch
// time in seconds.
int64 reporting_enabled_date;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ClientInfo);
};
} // namespace metrics
diff --git a/components/metrics/metrics_state_manager.cc b/components/metrics/metrics_state_manager.cc
index 98b7af5..7e98bdb 100644
--- a/components/metrics/metrics_state_manager.cc
+++ b/components/metrics/metrics_state_manager.cc
@@ -219,9 +219,6 @@ void MetricsStateManager::RegisterPrefs(PrefRegistrySimple* registry) {
}
void MetricsStateManager::BackUpCurrentClientInfo() {
- // TODO(gayane): Eliminate use of ScopedAllowIO. crbug.com/413783
- base::ThreadRestrictions::ScopedAllowIO allow_io;
-
ClientInfo client_info;
client_info.client_id = client_id_;
client_info.installation_date = local_state_->GetInt64(prefs::kInstallDate);