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

Side by Side Diff: chrome/browser/extensions/webstore_install_result.h

Issue 339103002: Update the EphemeralAppLauncher for use by the webstorePrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 6 years, 6 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 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
7
8 namespace extensions {
9
10 namespace webstore_install {
11
12 // Result codes returned by WebstoreStandaloneInstaller and its subclasses.
13 enum Result {
14 // Successful operation.
15 SUCCESS,
16
17 // Unknown error.
18 UNKNOWN_ERROR,
19
20 // The operation was aborted as the requestor is no longer alive.
21 ABORTED,
22
23 // The installation is not permitted.
24 NOT_PERMITTED,
25
26 // Invalid Chrome Web Store item ID.
27 INVALID_ID,
28
29 // Failed to retrieve extension metadata from the Web Store.
30 WEBSTORE_REQUEST_ERROR,
31
32 // The extension metadata retrieved from the Web Store was invalid.
33 INVALID_WEBSTORE_RESPONSE,
34
35 // An error occurred while parsing the extension manifest retrieved from the
36 // Web Store.
37 INVALID_MANIFEST,
38
39 // Failed to retrieve the extension's icon from the Web Store, or the icon
40 // was invalid.
41 ICON_ERROR,
42
43 // The user cancelled the operation.
44 USER_CANCELLED,
45
46 // The extension is blacklisted.
47 BLACKLISTED,
48
49 // Unsatisfied dependencies, such as shared modules.
50 MISSING_DEPENDENCIES,
51
52 // Unsatisfied requirements, such as webgl.
53 REQUIREMENT_VIOLATIONS,
54
55 // The extension is blocked by management policies.
56 BLOCKED_BY_POLICY,
57
58 // The launch feature is not available.
59 LAUNCH_FEATURE_DISABLED,
60
61 // The launch feature is not supported for the extension type.
62 LAUNCH_UNSUPPORTED_EXTENSION_TYPE
63 };
64
65 } // namespace webstore_install
66
67 } // namespace extensions
68
69 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_installer.h ('k') | chrome/browser/extensions/webstore_installer_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698