summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_service.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:33:27 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:33:27 +0000
commit82b6e5142f45e0172ba15cb30b87f5e31456c55c (patch)
tree2699490fc51b3b89d35f2fc5fed1f401df6960e1 /chrome/browser/extensions/extension_service.h
parent67361b3fcbd13d0ca74f4439e5a474a3867847b6 (diff)
downloadchromium_src-82b6e5142f45e0172ba15cb30b87f5e31456c55c.zip
chromium_src-82b6e5142f45e0172ba15cb30b87f5e31456c55c.tar.gz
chromium_src-82b6e5142f45e0172ba15cb30b87f5e31456c55c.tar.bz2
[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
Diffstat (limited to 'chrome/browser/extensions/extension_service.h')
-rw-r--r--chrome/browser/extensions/extension_service.h2
1 files changed, 1 insertions, 1 deletions
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<ExtensionUpdater> updater_;
+ scoped_ptr<ExtensionUpdater> updater_;
// The model that tracks extensions with BrowserAction buttons.
ExtensionToolbarModel toolbar_model_;