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

Unified Diff: chrome/browser/metrics/metrics_state_manager.cc

Issue 292723004: Remove ClonedInstallDetector/MachineIdProvider //content dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metrics/metrics_state_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_state_manager.cc
diff --git a/chrome/browser/metrics/metrics_state_manager.cc b/chrome/browser/metrics/metrics_state_manager.cc
index cfbc3d61e07bb9f8acc722c282762962efca90fb..cb87e515ce31cc7e7ed2b3b4410bf199e8126aec 100644
--- a/chrome/browser/metrics/metrics_state_manager.cc
+++ b/chrome/browser/metrics/metrics_state_manager.cc
@@ -109,7 +109,8 @@ void MetricsStateManager::ForceClientIdCreation() {
local_state_->ClearPref(prefs::kMetricsOldClientID);
}
-void MetricsStateManager::CheckForClonedInstall() {
+void MetricsStateManager::CheckForClonedInstall(
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
DCHECK(!cloned_install_detector_);
MachineIdProvider* provider = MachineIdProvider::CreateInstance();
@@ -117,7 +118,7 @@ void MetricsStateManager::CheckForClonedInstall() {
return;
cloned_install_detector_.reset(new ClonedInstallDetector(provider));
- cloned_install_detector_->CheckForClonedInstall(local_state_);
+ cloned_install_detector_->CheckForClonedInstall(local_state_, task_runner);
}
scoped_ptr<const base::FieldTrial::EntropyProvider>
« no previous file with comments | « chrome/browser/metrics/metrics_state_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698