AU: Class to perform delta updates.
A class to perform delta updates and the associated unittests. Also,
change the delta diff generator executable to be able to apply a
delta, which is handy for debugging.
TEST=Attached unit test, hand-tested on real build images
BUG=552
Review URL: http://codereview.chromium.org/1718001
diff --git a/set_bootable_flag_action_unittest.cc b/set_bootable_flag_action_unittest.cc
index 215c189..023c7bd 100644
--- a/set_bootable_flag_action_unittest.cc
+++ b/set_bootable_flag_action_unittest.cc
@@ -51,7 +51,7 @@
}
vector<char> DoTest(vector<char> mbr_in,
const string& filename,
- uint32 test_flags);
+ uint32_t test_flags);
// first partition bootable, no others bootable
const vector<char> sample_mbr_;
};
@@ -64,7 +64,7 @@
vector<char> SetBootableFlagActionTest::DoTest(vector<char> mbr_in,
const string& filename,
- uint32 flags) {
+ uint32_t flags) {
CHECK(!filename.empty());
const string root_filename(filename.begin(), --filename.end());
if (flags & WRITE_FILE)