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

Unified Diff: chrome/installer/setup/setup_util.cc

Issue 2031193002: [Courgette] Refactor BSDiff namespaces and bsdiff::search() interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_util.cc
diff --git a/chrome/installer/setup/setup_util.cc b/chrome/installer/setup/setup_util.cc
index b86760525be4e48560499dfc4a18b45a323ffa41..572c54a3c73e0abeadfe316c903ceacaa248a311 100644
--- a/chrome/installer/setup/setup_util.cc
+++ b/chrome/installer/setup/setup_util.cc
@@ -41,7 +41,6 @@
#include "chrome/installer/util/util_constants.h"
#include "courgette/courgette.h"
#include "courgette/third_party/bsdiff/bsdiff.h"
-#include "third_party/bspatch/mbspatch.h"
namespace installer {
@@ -149,8 +148,8 @@ int BsdiffPatchFiles(const base::FilePath& src,
if (src.empty() || patch.empty() || dest.empty())
return installer::PATCH_INVALID_ARGUMENTS;
- const int patch_status = courgette::ApplyBinaryPatch(src, patch, dest);
- const int exit_code = patch_status != OK ?
+ const int patch_status = bsdiff::ApplyBinaryPatch(src, patch, dest);
+ const int exit_code = patch_status != bsdiff::OK ?
patch_status + kBsdiffErrorOffset : 0;
LOG_IF(ERROR, exit_code)
« no previous file with comments | « no previous file | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698