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

Side by Side Diff: chrome/browser/component_updater/component_patcher_operation.cc

Issue 25883006: Support asynchronous patching operations in the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tests
Patch Set: sorin@ review Created 6 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/component_updater/component_patcher_operation.h" 5 #include "chrome/browser/component_updater/component_patcher_operation.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 int* error) { 216 int* error) {
217 *error = 0; 217 *error = 0;
218 return patcher->Patch(ComponentPatcher::kPatchTypeCourgette, 218 return patcher->Patch(ComponentPatcher::kPatchTypeCourgette,
219 input_abs_path_, 219 input_abs_path_,
220 patch_abs_path_, 220 patch_abs_path_,
221 output_abs_path_, 221 output_abs_path_,
222 error); 222 error);
223 } 223 }
224 224
225 } // namespace component_updater 225 } // namespace component_updater
226
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698