Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: trunk/src/chrome/browser/metrics/metrics_state_manager.cc

Issue 270013002: Revert 268246 "Revert 268232 "Refactor MetricsStateManager class..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698