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

Side by Side Diff: delta_diff_generator.h

Issue 4042004: AU: When applying delta locally, get source checksums (Closed) Base URL: http://git.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | delta_performer.cc » ('j') | delta_performer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 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_DELTA_DIFF_GENERATOR_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 // Returns true if |op| is a no-op operation that doesn't do any useful work 214 // Returns true if |op| is a no-op operation that doesn't do any useful work
215 // (e.g., a move operation that copies blocks onto themselves). 215 // (e.g., a move operation that copies blocks onto themselves).
216 static bool IsNoopOperation(const DeltaArchiveManifest_InstallOperation& op); 216 static bool IsNoopOperation(const DeltaArchiveManifest_InstallOperation& op);
217 217
218 private: 218 private:
219 // This should never be constructed 219 // This should never be constructed
220 DISALLOW_IMPLICIT_CONSTRUCTORS(DeltaDiffGenerator); 220 DISALLOW_IMPLICIT_CONSTRUCTORS(DeltaDiffGenerator);
221 }; 221 };
222 222
223 bool InitializePartitionInfo(bool is_kernel,
petkov 2010/10/22 20:15:16 Ah, I should have made this a static member of Del
adlr 2010/10/22 20:40:18 Done.
224 const std::string& partition,
225 PartitionInfo* info);
226
223 extern const char* const kBsdiffPath; 227 extern const char* const kBsdiffPath;
224 extern const char* const kBspatchPath; 228 extern const char* const kBspatchPath;
225 extern const char* const kDeltaMagic; 229 extern const char* const kDeltaMagic;
226 230
227 }; // namespace chromeos_update_engine 231 }; // namespace chromeos_update_engine
228 232
229 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__ 233 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__
OLDNEW
« no previous file with comments | « no previous file | delta_performer.cc » ('j') | delta_performer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698