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

Side by Side Diff: action_processor.h

Issue 3499004: AU: Verify that the actual download size matches the size reported by Omaha. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: extra ; Created 10 years, 2 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 | download_action.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 (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 16 matching lines...) Expand all
27 kActionCodeError = 1, 27 kActionCodeError = 1,
28 kActionCodeOmahaRequestError = 2, 28 kActionCodeOmahaRequestError = 2,
29 kActionCodeOmahaResponseHandlerError = 3, 29 kActionCodeOmahaResponseHandlerError = 3,
30 kActionCodeFilesystemCopierError = 4, 30 kActionCodeFilesystemCopierError = 4,
31 kActionCodePostinstallRunnerError = 5, 31 kActionCodePostinstallRunnerError = 5,
32 kActionCodeSetBootableFlagError = 6, 32 kActionCodeSetBootableFlagError = 6,
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 }; 38 };
38 39
39 class AbstractAction; 40 class AbstractAction;
40 class ActionProcessorDelegate; 41 class ActionProcessorDelegate;
41 42
42 class ActionProcessor { 43 class ActionProcessor {
43 public: 44 public:
44 ActionProcessor(); 45 ActionProcessor();
45 46
46 virtual ~ActionProcessor(); 47 virtual ~ActionProcessor();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Called whenever an action has finished processing, either successfully 107 // Called whenever an action has finished processing, either successfully
107 // or otherwise. 108 // or otherwise.
108 virtual void ActionCompleted(ActionProcessor* processor, 109 virtual void ActionCompleted(ActionProcessor* processor,
109 AbstractAction* action, 110 AbstractAction* action,
110 ActionExitCode code) {} 111 ActionExitCode code) {}
111 }; 112 };
112 113
113 } // namespace chromeos_update_engine 114 } // namespace chromeos_update_engine
114 115
115 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__ 116 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H__
OLDNEW
« no previous file with comments | « no previous file | download_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698