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

Side by Side Diff: chrome/common/file_patcher.mojom

Issue 2632143002: Convert utility process out-of-process file patching IPC to mojo (Closed)
Patch Set: Reupload to sync to tip. Try landing again. Created 3 years, 11 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // File patching interface provided by the utility process and exposed by
6 // mojo policy control to the chrome browser process.
7
8 module chrome.mojom;
9
10 import "mojo/common/file.mojom";
11
12 interface FilePatcher {
13 // Patch |input_file| with |patch_file| using the bsdiff algorithm
14 // (Courgette's version) and place the output in |output_file|.
15 // Returns |result| bsdiff::BSDiffStatus::OK on success.
16 PatchFileBsdiff(
17 mojo.common.mojom.File input_file,
18 mojo.common.mojom.File patch_file,
19 mojo.common.mojom.File output_file) => (int32 result);
20
21 // Patch |input_file| with |patch_file| using the Courgette algorithm
22 // and place the output in |output_file|.
23 // Returns |result| courgette::Status::C_OK on success.
24 PatchFileCourgette(
25 mojo.common.mojom.File input_file,
26 mojo.common.mojom.File patch_file,
27 mojo.common.mojom.File output_file) => (int32 result);
28 };
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698