| 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 #include "update_engine/action_processor.h" | 5 #include "update_engine/action_processor.h" |
| 6 #include <string> | 6 #include <string> |
| 7 #include "chromeos/obsolete_logging.h" | 7 #include "base/logging.h" |
| 8 #include "update_engine/action.h" | 8 #include "update_engine/action.h" |
| 9 | 9 |
| 10 using std::string; | 10 using std::string; |
| 11 | 11 |
| 12 namespace chromeos_update_engine { | 12 namespace chromeos_update_engine { |
| 13 | 13 |
| 14 ActionProcessor::ActionProcessor() | 14 ActionProcessor::ActionProcessor() |
| 15 : current_action_(NULL), delegate_(NULL) {} | 15 : current_action_(NULL), delegate_(NULL) {} |
| 16 | 16 |
| 17 ActionProcessor::~ActionProcessor() { | 17 ActionProcessor::~ActionProcessor() { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return; | 78 return; |
| 79 } | 79 } |
| 80 current_action_ = actions_.front(); | 80 current_action_ = actions_.front(); |
| 81 actions_.pop_front(); | 81 actions_.pop_front(); |
| 82 LOG(INFO) << "ActionProcessor::ActionComplete: finished " << old_type | 82 LOG(INFO) << "ActionProcessor::ActionComplete: finished " << old_type |
| 83 << ", starting " << current_action_->Type(); | 83 << ", starting " << current_action_->Type(); |
| 84 current_action_->PerformAction(); | 84 current_action_->PerformAction(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace chromeos_update_engine | 87 } // namespace chromeos_update_engine |
| OLD | NEW |