OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module extensions.mojom; |
| 6 |
| 7 // What an extension was loaded from. |
| 8 // NOTE: These values are stored as integers in the preferences and used |
| 9 // in histograms so don't remove or reorder existing items. Just append |
| 10 // to the end. |
| 11 enum ManifestLocation { |
| 12 INVALID_LOCATION, |
| 13 INTERNAL, // A crx file from the internal Extensions directory. |
| 14 EXTERNAL_PREF, // A crx file from an external directory (via prefs). |
| 15 EXTERNAL_REGISTRY, // A crx file from an external directory (via eg the |
| 16 // registry on Windows). |
| 17 UNPACKED, // From loading an unpacked extension from the |
| 18 // extensions settings page. |
| 19 COMPONENT, // An integral component of Chrome itself, which |
| 20 // happens to be implemented as an extension. We don't |
| 21 // show these in the management UI. |
| 22 EXTERNAL_PREF_DOWNLOAD, // A crx file from an external directory (via |
| 23 // prefs), installed from an update URL. |
| 24 EXTERNAL_POLICY_DOWNLOAD, // A crx file from an external directory (via |
| 25 // admin policies), installed from an update URL. |
| 26 COMMAND_LINE, // --load-extension. |
| 27 EXTERNAL_POLICY, // A crx file from an external directory (via admin |
| 28 // policies), cached locally and installed from the |
| 29 // cache. |
| 30 EXTERNAL_COMPONENT, // Similar to COMPONENT in that it's considered an |
| 31 // internal implementation detail of chrome, but |
| 32 // installed from an update URL like the *DOWNLOAD ones. |
| 33 }; |
OLD | NEW |