OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/metrics/metrics_state_manager.h" | 5 #include "chrome/browser/metrics/metrics_state_manager.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/guid.h" | 8 #include "base/guid.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/metrics/sparse_histogram.h" | 10 #include "base/metrics/sparse_histogram.h" |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 DCHECK(client_id_.empty()); | 225 DCHECK(client_id_.empty()); |
226 DCHECK_EQ(kLowEntropySourceNotSet, low_entropy_source_); | 226 DCHECK_EQ(kLowEntropySourceNotSet, low_entropy_source_); |
227 | 227 |
228 local_state_->ClearPref(prefs::kMetricsClientID); | 228 local_state_->ClearPref(prefs::kMetricsClientID); |
229 local_state_->ClearPref(prefs::kMetricsLowEntropySource); | 229 local_state_->ClearPref(prefs::kMetricsLowEntropySource); |
230 local_state_->ClearPref(prefs::kMetricsResetIds); | 230 local_state_->ClearPref(prefs::kMetricsResetIds); |
231 } | 231 } |
232 | 232 |
233 } // namespace metrics | 233 } // namespace metrics |
OLD | NEW |