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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 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
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 820322c19035cbe85c2fd61fe040aff882eb3236..b8662bb4704f17226c474cf48ed01c93931c1197 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1964,7 +1964,7 @@ void ExtensionService::GarbageCollectExtensions() {
// Don't garbage collect while there are pending installations, which may
// be using the temporary installation directory. Try to garbage collect
// again later.
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&ExtensionService::GarbageCollectExtensions, AsWeakPtr()),
base::TimeDelta::FromSeconds(kGarbageCollectRetryDelay));
@@ -2638,7 +2638,7 @@ void ExtensionService::Observe(int type,
// at all, but never half-crashed. We do it in a PostTask so
// that other handlers of this notification will still have
// access to the Extension and ExtensionHost.
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(
&ExtensionService::TrackTerminatedExtension,
@@ -2706,7 +2706,7 @@ void ExtensionService::Observe(int type,
if (delayed_updates_for_idle_.Contains(extension_id)) {
// We were waiting for this extension to become idle, it now might have,
// so maybe finish installation.
- MessageLoop::current()->PostDelayedTask(
+ base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&ExtensionService::MaybeFinishDelayedInstallation,
AsWeakPtr(), extension_id),

Powered by Google App Engine
This is Rietveld 408576698