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

Side by Side Diff: extent_writer.h

Issue 3170010: [update_engine] Update to use not-hideously-old logging API from chrome (Closed) Base URL: http://src.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « delta_diff_generator_unittest.cc ('k') | file_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__
7 7
8 #include <vector> 8 #include <vector>
9 #include "chromeos/obsolete_logging.h" 9 #include "base/logging.h"
10 #include "update_engine/update_metadata.pb.h" 10 #include "update_engine/update_metadata.pb.h"
11 #include "update_engine/utils.h" 11 #include "update_engine/utils.h"
12 12
13 // ExtentWriter is an abstract class which synchronously writes to a given 13 // ExtentWriter is an abstract class which synchronously writes to a given
14 // file descriptor at the extents given. 14 // file descriptor at the extents given.
15 15
16 namespace chromeos_update_engine { 16 namespace chromeos_update_engine {
17 17
18 class ExtentWriter { 18 class ExtentWriter {
19 public: 19 public:
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 private: 113 private:
114 ExtentWriter* underlying_extent_writer_; // The underlying ExtentWriter. 114 ExtentWriter* underlying_extent_writer_; // The underlying ExtentWriter.
115 size_t block_size_; 115 size_t block_size_;
116 size_t bytes_written_mod_block_size_; 116 size_t bytes_written_mod_block_size_;
117 }; 117 };
118 118
119 } // namespace chromeos_update_engine 119 } // namespace chromeos_update_engine
120 120
121 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__ 121 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_WRITER_H__
OLDNEW
« no previous file with comments | « delta_diff_generator_unittest.cc ('k') | file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698