Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: extensions/common/manifest_location.mojom

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Comment-only change in response to review comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 {
Devlin 2017/03/08 16:22:24 If it were me, I'd probably just opt for using [Na
Noel Gordon 2017/03/08 17:56:09 /me would have just stuck with the ints :) They s
Devlin 2017/03/08 18:05:17 My vote would be to add IPC_ENUM_TRAITS and use na
Noel Gordon 2017/03/09 15:40:11 Sounds like a plan to me, and done.
12 INVALID_LOCATION,
13 INTERNAL, // A crx file from the internal Extensions directory.
Devlin 2017/03/08 16:22:24 If we do stick with this approach, we shouldn't du
Noel Gordon 2017/03/08 17:56:09 Agree if we go this way. Not sure we should go th
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698