diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 18:58:19 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 18:58:19 +0000 |
commit | b6ab96da13cdfe15f38fbebcd22e0a1db5a50381 (patch) | |
tree | 99e4977793b780210f6aceca8ae544612065a33a /chrome/browser/extensions/crx_installer.h | |
parent | 49c97336d0262072c413ca802c4818a419e3b620 (diff) | |
download | chromium_src-b6ab96da13cdfe15f38fbebcd22e0a1db5a50381.zip chromium_src-b6ab96da13cdfe15f38fbebcd22e0a1db5a50381.tar.gz chromium_src-b6ab96da13cdfe15f38fbebcd22e0a1db5a50381.tar.bz2 |
Get rid of the extension's "Current Version" file.
The entire manifest.json value is now stored in the prefs file. This will
allow for quick extension checks on startup.
BUG=18293
TEST=Make sure installing/upgrading/uninstalling extensions works as expected.
Review URL: http://codereview.chromium.org/174036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r-- | chrome/browser/extensions/crx_installer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h index d7ae504..c1a4d55 100644 --- a/chrome/browser/extensions/crx_installer.h +++ b/chrome/browser/extensions/crx_installer.h @@ -138,6 +138,10 @@ class CrxInstaller : // ExtensionsService on success, or delete it on failure. scoped_ptr<Extension> extension_; + // If non-empty, contains the current version of the extension we're + // installing (for upgrades). + std::string current_version_; + // The icon we will display in the installation UI, if any. scoped_ptr<SkBitmap> install_icon_; |