| Index: delta_performer.h
|
| diff --git a/delta_performer.h b/delta_performer.h
|
| index 5425ea51c1942e5bc05125fb06ed790e4d17fc0e..7967a7beff50aabc58be0d376141756adeaa0c1f 100644
|
| --- a/delta_performer.h
|
| +++ b/delta_performer.h
|
| @@ -10,6 +10,7 @@
|
| #include <vector>
|
|
|
| #include <google/protobuf/repeated_field.h>
|
| +#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
|
|
| #include "update_engine/file_writer.h"
|
| #include "update_engine/omaha_hash_calculator.h"
|
| @@ -87,6 +88,12 @@ class DeltaPerformer : public FileWriter {
|
| static bool ResetUpdateProgress(PrefsInterface* prefs);
|
|
|
| private:
|
| + friend class DeltaPerformerTest;
|
| + FRIEND_TEST(DeltaPerformerTest, IsIdempotentOperationTest);
|
| +
|
| + static bool IsIdempotentOperation(
|
| + const DeltaArchiveManifest_InstallOperation& op);
|
| +
|
| // Returns true if enough of the delta file has been passed via Write()
|
| // to be able to perform a given install operation.
|
| bool CanPerformInstallOperation(
|
|
|