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

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

Issue 2103663002: [Extensions] Rework inline installation observation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missingfile Created 4 years, 5 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
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/webstore_install_result.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
6 #define CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_ 6 #define CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 namespace webstore_install { 10 namespace webstore_install {
11 11
12 extern const char kInvalidWebstoreItemId[];
13 extern const char kWebstoreRequestError[];
14 extern const char kInvalidWebstoreResponseError[];
15 extern const char kInvalidManifestError[];
16 extern const char kUserCancelledError[];
17 extern const char kExtensionIsBlacklisted[];
18 extern const char kInstallInProgressError[];
19
12 // Result codes returned by WebstoreStandaloneInstaller and its subclasses. 20 // Result codes returned by WebstoreStandaloneInstaller and its subclasses.
13 enum Result { 21 enum Result {
14 // Successful operation. 22 // Successful operation.
15 SUCCESS, 23 SUCCESS,
16 24
17 // Unknown error. 25 // Unknown error.
18 OTHER_ERROR, 26 OTHER_ERROR,
19 27
20 // The operation was aborted as the requestor is no longer alive. 28 // The operation was aborted as the requestor is no longer alive.
21 ABORTED, 29 ABORTED,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // The final (and unused) result type for enum verification. 78 // The final (and unused) result type for enum verification.
71 // New results should go above this entry, and this entry should be updated. 79 // New results should go above this entry, and this entry should be updated.
72 RESULT_LAST = LAUNCH_IN_PROGRESS, 80 RESULT_LAST = LAUNCH_IN_PROGRESS,
73 }; 81 };
74 82
75 } // namespace webstore_install 83 } // namespace webstore_install
76 84
77 } // namespace extensions 85 } // namespace extensions
78 86
79 #endif // CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_ 87 #endif // CHROME_COMMON_EXTENSIONS_WEBSTORE_INSTALL_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/webstore_install_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698