AU: Try delta updates first, then full updates
Also, some bug fixes.
Review URL: http://codereview.chromium.org/492008
diff --git a/action_processor_unittest.cc b/action_processor_unittest.cc
index 6130585..0657207 100644
--- a/action_processor_unittest.cc
+++ b/action_processor_unittest.cc
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
#include <gtest/gtest.h>
#include "update_engine/action.h"
#include "update_engine/action_processor.h"
+using std::string;
+
namespace chromeos_update_engine {
using chromeos_update_engine::ActionPipe;
@@ -60,7 +63,7 @@
explicit MyActionProcessorDelegate(const ActionProcessor* processor)
: processor_(processor), processing_done_called_(false) {}
- virtual void ProcessingDone(const ActionProcessor* processor) {
+ virtual void ProcessingDone(const ActionProcessor* processor, bool success) {
EXPECT_EQ(processor_, processor);
EXPECT_FALSE(processing_done_called_);
processing_done_called_ = true;