OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ |
6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ |
7 | 7 |
8 namespace update_client { | 8 namespace update_client { |
9 | 9 |
10 // Errors generated as a result of calling UpdateClient member functions. | 10 // Errors generated as a result of calling UpdateClient member functions. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // indicate unpacker or patcher error. | 44 // indicate unpacker or patcher error. |
45 enum class UnpackerError { | 45 enum class UnpackerError { |
46 kNone = 0, | 46 kNone = 0, |
47 kInvalidParams = 1, | 47 kInvalidParams = 1, |
48 kInvalidFile = 2, | 48 kInvalidFile = 2, |
49 kUnzipPathError = 3, | 49 kUnzipPathError = 3, |
50 kUnzipFailed = 4, | 50 kUnzipFailed = 4, |
51 // kNoManifest = 5, // Deprecated. Never used. | 51 // kNoManifest = 5, // Deprecated. Never used. |
52 kBadManifest = 6, | 52 kBadManifest = 6, |
53 kBadExtension = 7, | 53 kBadExtension = 7, |
54 kInvalidId = 8, | 54 // kInvalidId = 8, // Deprecated. Combined with kInvalidFile. |
55 // kInstallerError = 9, // Deprecated. Don't use. | 55 // kInstallerError = 9, // Deprecated. Don't use. |
56 kIoError = 10, | 56 kIoError = 10, |
57 kDeltaVerificationFailure = 11, | 57 kDeltaVerificationFailure = 11, |
58 kDeltaBadCommands = 12, | 58 kDeltaBadCommands = 12, |
59 kDeltaUnsupportedCommand = 13, | 59 kDeltaUnsupportedCommand = 13, |
60 kDeltaOperationFailure = 14, | 60 kDeltaOperationFailure = 14, |
61 kDeltaPatchProcessFailure = 15, | 61 kDeltaPatchProcessFailure = 15, |
62 kDeltaMissingExistingFile = 16, | 62 kDeltaMissingExistingFile = 16, |
63 // kFingerprintWriteFailed = 17, // Deprecated. Don't use. | 63 // kFingerprintWriteFailed = 17, // Deprecated. Don't use. |
64 }; | 64 }; |
(...skipping 19 matching lines...) Expand all Loading... |
84 // indicate critical or configuration errors in the update service. | 84 // indicate critical or configuration errors in the update service. |
85 enum class ServiceError { | 85 enum class ServiceError { |
86 NONE = 0, | 86 NONE = 0, |
87 SERVICE_WAIT_FAILED = 1, | 87 SERVICE_WAIT_FAILED = 1, |
88 UPDATE_DISABLED = 2, | 88 UPDATE_DISABLED = 2, |
89 }; | 89 }; |
90 | 90 |
91 } // namespace update_client | 91 } // namespace update_client |
92 | 92 |
93 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ | 93 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_ERRORS_H_ |
OLD | NEW |