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

Unified Diff: src/platform/update_engine/extent_writer.h

Issue 1718001: AU: Class to perform delta updates. (Closed)
Patch Set: fixes 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/update_engine/extent_writer.h
diff --git a/src/platform/update_engine/extent_writer.h b/src/platform/update_engine/extent_writer.h
index b250babc87a812ad29816a4560efcdc34506c98d..ac36364c8fc3f72a5b32376603e3e88d0843b8f9 100644
--- a/src/platform/update_engine/extent_writer.h
+++ b/src/platform/update_engine/extent_writer.h
@@ -15,10 +15,6 @@
namespace chromeos_update_engine {
-// When an extent's start block is kSparseHole, that data written for that
-// extent will be dropped rather than written to the unerlying fd.
-const uint64 kSparseHole = kuint64max;
-
class ExtentWriter {
public:
ExtentWriter() : end_called_(false) {}
@@ -73,7 +69,7 @@ class DirectExtentWriter : public ExtentWriter {
size_t block_size_;
// Bytes written into next_extent_index_ thus far
- uint64 extent_bytes_written_;
+ uint64_t extent_bytes_written_;
std::vector<Extent> extents_;
// The next call to write should correspond to extents_[next_extent_index_]
std::vector<Extent>::size_type next_extent_index_;

Powered by Google App Engine
This is Rietveld 408576698