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

Side by Side Diff: omaha_request_prep_action.h

Issue 2981007: Rename UpdateCheckAction|Params to OmahaRequestAction|Params. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: fix the comment Created 10 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 | Annotate | Revision Log
« no previous file with comments | « omaha_request_action_unittest.cc ('k') | omaha_request_prep_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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__
7 7
8 #include <string> 8 #include <string>
9 #include "update_engine/action.h" 9 #include "update_engine/action.h"
10 #include "update_engine/update_check_action.h" 10 #include "update_engine/omaha_request_action.h"
11 11
12 // This gathers local system information and prepares info used by the 12 // This gathers local system information and prepares info used by the
13 // update check action. 13 // update check action.
14 14
15 namespace chromeos_update_engine { 15 namespace chromeos_update_engine {
16 16
17 class OmahaRequestPrepAction; 17 class OmahaRequestPrepAction;
18 class NoneType; 18 class NoneType;
19 19
20 template<> 20 template<>
21 class ActionTraits<OmahaRequestPrepAction> { 21 class ActionTraits<OmahaRequestPrepAction> {
22 public: 22 public:
23 typedef NoneType InputObjectType; 23 typedef NoneType InputObjectType;
24 typedef UpdateCheckParams OutputObjectType; 24 typedef OmahaRequestParams OutputObjectType;
25 }; 25 };
26 26
27 class OmahaRequestPrepAction : public Action<OmahaRequestPrepAction> { 27 class OmahaRequestPrepAction : public Action<OmahaRequestPrepAction> {
28 public: 28 public:
29 explicit OmahaRequestPrepAction(bool force_full_update) 29 explicit OmahaRequestPrepAction(bool force_full_update)
30 : force_full_update_(force_full_update) {} 30 : force_full_update_(force_full_update) {}
31 typedef ActionTraits<OmahaRequestPrepAction>::InputObjectType 31 typedef ActionTraits<OmahaRequestPrepAction>::InputObjectType
32 InputObjectType; 32 InputObjectType;
33 typedef ActionTraits<OmahaRequestPrepAction>::OutputObjectType 33 typedef ActionTraits<OmahaRequestPrepAction>::OutputObjectType
34 OutputObjectType; 34 OutputObjectType;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // When reading files, prepend root_ to the paths. Useful for testing. 67 // When reading files, prepend root_ to the paths. Useful for testing.
68 std::string root_; 68 std::string root_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(OmahaRequestPrepAction); 70 DISALLOW_COPY_AND_ASSIGN(OmahaRequestPrepAction);
71 }; 71 };
72 72
73 } // namespace chromeos_update_engine 73 } // namespace chromeos_update_engine
74 74
75 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__ 75 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_OMAHA_RESQUEST_PREP_ACTION_H__
OLDNEW
« no previous file with comments | « omaha_request_action_unittest.cc ('k') | omaha_request_prep_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698