Chromium Code Reviews| Index: chrome/browser/extensions/extension_service.cc |
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
| index a2369e9144ca80b51dfab0492666543f340567c8..79015444e5b5954cb49d29f6a65d5ed62a1b8520 100644 |
| --- a/chrome/browser/extensions/extension_service.cc |
| +++ b/chrome/browser/extensions/extension_service.cc |
| @@ -1966,7 +1966,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)); |
| @@ -2631,12 +2631,11 @@ 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, |
| - AsWeakPtr(), |
| - host->extension())); |
| + base::Bind(&ExtensionService::TrackTerminatedExtension, |
| + AsWeakPtr(), |
| + host->extension())); |
| break; |
| } |
| case content::NOTIFICATION_RENDERER_PROCESS_CREATED: { |
| @@ -2699,10 +2698,11 @@ 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), |
| + AsWeakPtr(), |
| + extension_id), |
|
brettw
2013/04/28 04:26:27
This was fine on the previous line.
|
| base::TimeDelta::FromSeconds(kUpdateIdleDelay)); |
| } |
| break; |