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

Side by Side Diff: action_processor.h

Issue 6574009: If a public key is present, disallow old style full payloads. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | delta_performer.h » ('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 (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 kActionCodeInstallDeviceOpenError = 7, 33 kActionCodeInstallDeviceOpenError = 7,
34 kActionCodeKernelDeviceOpenError = 8, 34 kActionCodeKernelDeviceOpenError = 8,
35 kActionCodeDownloadTransferError = 9, 35 kActionCodeDownloadTransferError = 9,
36 kActionCodeDownloadHashMismatchError = 10, 36 kActionCodeDownloadHashMismatchError = 10,
37 kActionCodeDownloadSizeMismatchError = 11, 37 kActionCodeDownloadSizeMismatchError = 11,
38 kActionCodeDownloadPayloadVerificationError = 12, 38 kActionCodeDownloadPayloadVerificationError = 12,
39 kActionCodeDownloadNewPartitionInfoError = 13, 39 kActionCodeDownloadNewPartitionInfoError = 13,
40 kActionCodeDownloadWriteError = 14, 40 kActionCodeDownloadWriteError = 14,
41 kActionCodeNewRootfsVerificationError = 15, 41 kActionCodeNewRootfsVerificationError = 15,
42 kActionCodeNewKernelVerificationError = 16, 42 kActionCodeNewKernelVerificationError = 16,
43 kActionCodeSignedDeltaPayloadExpectedError = 17,
43 kActionCodeOmahaRequestEmptyResponseError = 200, 44 kActionCodeOmahaRequestEmptyResponseError = 200,
44 kActionCodeOmahaRequestXMLParseError = 201, 45 kActionCodeOmahaRequestXMLParseError = 201,
45 kActionCodeOmahaRequestNoUpdateCheckNode = 202, 46 kActionCodeOmahaRequestNoUpdateCheckNode = 202,
46 kActionCodeOmahaRequestNoUpdateCheckStatus = 203, 47 kActionCodeOmahaRequestNoUpdateCheckStatus = 203,
47 kActionCodeOmahaRequestBadUpdateCheckStatus = 204, 48 kActionCodeOmahaRequestBadUpdateCheckStatus = 204,
48 kActionCodeOmahaRequestHTTPResponseBase = 2000, // + HTTP response code 49 kActionCodeOmahaRequestHTTPResponseBase = 2000, // + HTTP response code
49 50
50 // Bit flags. 51 // Bit flags.
51 kActionCodeBootModeFlag = 1 << 31, // Set if boot mode not normal. 52 kActionCodeBootModeFlag = 1 << 31, // Set if boot mode not normal.
52 }; 53 };
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Called whenever an action has finished processing, either successfully 122 // Called whenever an action has finished processing, either successfully
122 // or otherwise. 123 // or otherwise.
123 virtual void ActionCompleted(ActionProcessor* processor, 124 virtual void ActionCompleted(ActionProcessor* processor,
124 AbstractAction* action, 125 AbstractAction* action,
125 ActionExitCode code) {} 126 ActionExitCode code) {}
126 }; 127 };
127 128
128 } // namespace chromeos_update_engine 129 } // namespace chromeos_update_engine
129 130
130 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__ 131 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__
OLDNEW
« no previous file with comments | « no previous file | delta_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698