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

Side by Side Diff: chrome/browser/component_updater/component_patcher_win.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_win.h" 5 #include "chrome/browser/component_updater/component_patcher_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 *error = GetLastError(); 108 *error = GetLastError();
109 return ComponentUnpacker::kDeltaPatchProcessFailure; 109 return ComponentUnpacker::kDeltaPatchProcessFailure;
110 } 110 }
111 111
112 *error = exit_code; 112 *error = exit_code;
113 return *error ? ComponentUnpacker::kDeltaOperationFailure : 113 return *error ? ComponentUnpacker::kDeltaOperationFailure :
114 ComponentUnpacker::kNone; 114 ComponentUnpacker::kNone;
115 } 115 }
116 116
117 } // namespace component_updater 117 } // namespace component_updater
118
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/component_patcher_operation.cc ('k') | chrome/browser/component_updater/component_unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698