From 82b6e5142f45e0172ba15cb30b87f5e31456c55c Mon Sep 17 00:00:00 2001 From: "akalin@chromium.org" Date: Tue, 12 Apr 2011 20:33:27 +0000 Subject: [Extensions] Rework ExtensionUpdater to not be RefCountedThreadSafe Make ExtensionUpdater pass weak pointers to ExtensionUpdaterFileHandler and SafeManifestParser. Fix latent bug where SafeManifestParser would hold a reference to a string on the stack. Check all instances of PostTask. Avoid leaking temp files when possible. BUG= TEST= Review URL: http://codereview.chromium.org/6826045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81299 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/extensions/extension_service.h') diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h index 344d323..4d6e291 100644 --- a/chrome/browser/extensions/extension_service.h +++ b/chrome/browser/extensions/extension_service.h @@ -519,7 +519,7 @@ class ExtensionService bool ready_; // Our extension updater, if updates are turned on. - scoped_refptr updater_; + scoped_ptr updater_; // The model that tracks extensions with BrowserAction buttons. ExtensionToolbarModel toolbar_model_; -- cgit v1.1