Index: chrome/browser/extensions/extension_updater.cc |
diff --git a/chrome/browser/extensions/extension_updater.cc b/chrome/browser/extensions/extension_updater.cc |
index bb14931c4627e130a6f3bcf19079c26f8cca8e08..5fa3bd2192a8781bb247f0f0796c9c16786acdca 100644 |
--- a/chrome/browser/extensions/extension_updater.cc |
+++ b/chrome/browser/extensions/extension_updater.cc |
@@ -209,14 +209,7 @@ void ExtensionUpdater::OnCRXFetchComplete(const GURL& url, |
void ExtensionUpdater::OnCRXFileWritten(const std::string& id, |
const FilePath& path) { |
- // TODO(asargent) - Instead of calling InstallExtension here, we should have |
- // an UpdateExtension method in ExtensionsService and rely on it to check |
- // that the extension is still installed, and still an older version than |
- // what we're handing it. |
- // (http://crbug.com/12764). |
- ExtensionInstallCallback* callback = |
- NewCallback(this, &ExtensionUpdater::OnExtensionInstallFinished); |
- service_->UpdateExtension(id, path, false, callback); |
+ service_->UpdateExtension(id, path); |
} |
void ExtensionUpdater::OnExtensionInstallFinished(const FilePath& path, |