summaryrefslogtreecommitdiffstats
path: root/chrome/browser/upgrade_detector_impl.h
diff options
context:
space:
mode:
authorcsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 21:24:37 +0000
committercsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 21:24:37 +0000
commit6198f7989a5140e9f3b7717138c2f25527ffa8f2 (patch)
tree0e722c6d0e3bf4022d5a6b5d79ba2b63ac543e68 /chrome/browser/upgrade_detector_impl.h
parentda910fe462244967d8a23e6b9e5532a293800d48 (diff)
downloadchromium_src-6198f7989a5140e9f3b7717138c2f25527ffa8f2.zip
chromium_src-6198f7989a5140e9f3b7717138c2f25527ffa8f2.tar.gz
chromium_src-6198f7989a5140e9f3b7717138c2f25527ffa8f2.tar.bz2
base::Bind migrations in chrome/browser
BUG=none Review URL: http://codereview.chromium.org/8513020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/upgrade_detector_impl.h')
-rw-r--r--chrome/browser/upgrade_detector_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/upgrade_detector_impl.h b/chrome/browser/upgrade_detector_impl.h
index ee6e3fa..6cb59c3 100644
--- a/chrome/browser/upgrade_detector_impl.h
+++ b/chrome/browser/upgrade_detector_impl.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UPGRADE_DETECTOR_IMPL_H_
#pragma once
+#include "base/memory/weak_ptr.h"
#include "base/timer.h"
#include "chrome/browser/upgrade_detector.h"
@@ -45,7 +46,7 @@ class UpgradeDetectorImpl : public UpgradeDetector {
// We use this factory to create callback tasks for UpgradeDetected. We pass
// the task to the actual upgrade detection code, which is in
// DetectUpgradeTask.
- ScopedRunnableMethodFactory<UpgradeDetectorImpl> method_factory_;
+ base::WeakPtrFactory<UpgradeDetectorImpl> weak_factory_;
// True if this build is a dev or canary channel build.
bool is_unstable_channel_;