| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 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_H__ | 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_H__ |
| 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_H__ | 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_H__ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <tr1/memory> | 9 #include <tr1/memory> |
| 10 #include <iostream> | 10 #include <iostream> |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "chromeos/obsolete_logging.h" | 12 #include "base/logging.h" |
| 13 #include "update_engine/action_processor.h" | 13 #include "update_engine/action_processor.h" |
| 14 #include "update_engine/action_pipe.h" | 14 #include "update_engine/action_pipe.h" |
| 15 | 15 |
| 16 // The structure of these classes (Action, ActionPipe, ActionProcessor, etc.) | 16 // The structure of these classes (Action, ActionPipe, ActionProcessor, etc.) |
| 17 // is based on the KSAction* classes from the Google Update Engine code at | 17 // is based on the KSAction* classes from the Google Update Engine code at |
| 18 // http://code.google.com/p/update-engine/ . The author of this file sends | 18 // http://code.google.com/p/update-engine/ . The author of this file sends |
| 19 // a big thanks to that team for their high quality design, implementation, | 19 // a big thanks to that team for their high quality design, implementation, |
| 20 // and documentation. | 20 // and documentation. |
| 21 // | 21 // |
| 22 // Readers may want to consult this wiki page from the Update Engine site: | 22 // Readers may want to consult this wiki page from the Update Engine site: |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 ActionPipe<typename ActionTraits<SubClass>::InputObjectType> > | 194 ActionPipe<typename ActionTraits<SubClass>::InputObjectType> > |
| 195 in_pipe_; | 195 in_pipe_; |
| 196 std::tr1::shared_ptr< | 196 std::tr1::shared_ptr< |
| 197 ActionPipe<typename ActionTraits<SubClass>::OutputObjectType> > | 197 ActionPipe<typename ActionTraits<SubClass>::OutputObjectType> > |
| 198 out_pipe_; | 198 out_pipe_; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 }; // namespace chromeos_update_engine | 201 }; // namespace chromeos_update_engine |
| 202 | 202 |
| 203 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_H__ | 203 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_H__ |
| OLD | NEW |