OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 // will set to be a file that contains "XY". | 104 // will set to be a file that contains "XY". |
105 static bool ReorderDataBlobs(DeltaArchiveManifest* manifest, | 105 static bool ReorderDataBlobs(DeltaArchiveManifest* manifest, |
106 const std::string& data_blobs_path, | 106 const std::string& data_blobs_path, |
107 const std::string& new_data_blobs_path); | 107 const std::string& new_data_blobs_path); |
108 | 108 |
109 private: | 109 private: |
110 // This should never be constructed | 110 // This should never be constructed |
111 DISALLOW_IMPLICIT_CONSTRUCTORS(DeltaDiffGenerator); | 111 DISALLOW_IMPLICIT_CONSTRUCTORS(DeltaDiffGenerator); |
112 }; | 112 }; |
113 | 113 |
114 namespace { | |
115 const char* const kBsdiffPath = "/usr/bin/bsdiff"; | |
Daniel Erat
2010/04/23 17:47:25
Same objection as in delta_performer.h here -- I d
adlr
2010/04/23 20:50:17
Sorry, I think I just threw this in while writing
| |
116 const char* const kBspatchPath = "/usr/bin/bspatch"; | |
117 const char* const kDeltaMagic = "CrAU"; | |
118 } | |
119 | |
114 }; // namespace chromeos_update_engine | 120 }; // namespace chromeos_update_engine |
115 | 121 |
116 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__ | 122 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DELTA_DIFF_GENERATOR_H__ |
OLD | NEW |