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

Unified Diff: src/platform/update_engine/action_processor_unittest.cc

Issue 492008: AU: Try delta updates first, then full updates (Closed)
Patch Set: use mkstemp Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/update_engine/action_processor.cc ('k') | src/platform/update_engine/action_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/action_processor_unittest.cc
diff --git a/src/platform/update_engine/action_processor_unittest.cc b/src/platform/update_engine/action_processor_unittest.cc
index 613058533c90e6ade3882233108c8a0d4b863f66..0657207e187bb7b81b61d27be4672cf8f9b0f899 100644
--- a/src/platform/update_engine/action_processor_unittest.cc
+++ b/src/platform/update_engine/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 @@ class MyActionProcessorDelegate : public ActionProcessorDelegate {
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;
« no previous file with comments | « src/platform/update_engine/action_processor.cc ('k') | src/platform/update_engine/action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698