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

Side by Side Diff: src/platform/update_engine/action_processor.cc

Issue 1599029: update engine: 32- and 64-bit compile (Closed)
Patch Set: int32->int32_t, PRIi64, 80 cols for review Created 10 years, 8 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698