diff options
author | amistry@chromium.org <amistry@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 16:53:41 +0000 |
---|---|---|
committer | amistry@chromium.org <amistry@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 16:56:37 +0000 |
commit | 9ae7396d014c617d16e2812d511a3940c69b0e1e (patch) | |
tree | e3c6e3c694e7a4626eb3bd95146eab6e9b6f9105 /extensions/common/extension.h | |
parent | 5d35ccf924551f33f50fc96a224b81edd05f6f94 (diff) | |
download | chromium_src-9ae7396d014c617d16e2812d511a3940c69b0e1e.zip chromium_src-9ae7396d014c617d16e2812d511a3940c69b0e1e.tar.gz chromium_src-9ae7396d014c617d16e2812d511a3940c69b0e1e.tar.bz2 |
Make runtime.reload() work with component extensions.
This eliminates the ENABLED_COMPONENT state, and fixes the path CHECK failure.
BUG=402377
Review URL: https://codereview.chromium.org/462533002
Cr-Commit-Position: refs/heads/master@{#289616}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index a429d59..47f85f3 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -62,9 +62,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { // An external extension that the user uninstalled. We should not reinstall // such extensions on startup. EXTERNAL_EXTENSION_UNINSTALLED, - // Special state for component extensions, since they are always loaded by - // the component loader, and should never be auto-installed on startup. - ENABLED_COMPONENT, + // DEPRECATED: Special state for component extensions. + // Maintained as a placeholder since states may be stored to disk. + ENABLED_COMPONENT_DEPRECATED, NUM_STATES }; |