diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:53:15 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:53:15 +0000 |
commit | 27b985db86e682c821f13ec37b52a6c69aa69fbb (patch) | |
tree | af9ed515ccc19ea7b9682afbe6de7d982e12d4c8 /chrome/browser/extensions/extensions_service.h | |
parent | 8380c0910bfff5ee0af6b37536cd815023d055ef (diff) | |
download | chromium_src-27b985db86e682c821f13ec37b52a6c69aa69fbb.zip chromium_src-27b985db86e682c821f13ec37b52a6c69aa69fbb.tar.gz chromium_src-27b985db86e682c821f13ec37b52a6c69aa69fbb.tar.bz2 |
The Provider for External Extensions no longer uses
the prefs file, but instead reads a preferences file
(a json file called external_extensions.json).
This file specifies what external extensions we
installed (shipped with Chrome) and the extension
system takes care of installing them.
Having this in a separate file makes the upgrade
scenario easier, since we can during upgrade simply
blow away this file and replace it (and not have
to worry about merging/loosing user specified data).
The extension system will read the file, and figure
out whether any extension needs to be upgraded based
on the information provided.
Now, all external providers fetch data on the file
thread instead of reading and copying preferences on
the UI thread and posting them to the file thread.
BUG=http://crbug.com/14201
TEST=Covered by unit test.
Review URL: http://codereview.chromium.org/144018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.h')
-rw-r--r-- | chrome/browser/extensions/extensions_service.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h index 653c29d..b239422 100644 --- a/chrome/browser/extensions/extensions_service.h +++ b/chrome/browser/extensions/extensions_service.h @@ -108,8 +108,9 @@ class ExtensionsService bool alert_on_error, Callback* callback); // Uninstalls the specified extension. Callers should only call this method - // with extensions that exist and are "internal". - void UninstallExtension(const std::string& extension_id); + // with extensions that exist. + void UninstallExtension(const std::string& extension_id, + bool external_uninstall); // Load the extension from the directory |extension_path|. void LoadExtension(const FilePath& extension_path); @@ -245,7 +246,6 @@ class ExtensionsServiceBackend ExtensionsServiceBackend(const FilePath& install_directory, ResourceDispatcherHost* rdh, MessageLoop* frontend_loop, - DictionaryValue* extension_prefs, bool extensions_enabled); virtual ~ExtensionsServiceBackend(); |