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

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

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Minor comment fixes. Created 3 years, 9 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
(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 // Safe archive file analyzer provided by the utility process and exposed
6 // by mojo policy control to the chrome browser process when build flag
7 // FULL_SAFE_BROWSING is enabled.
8
9 module chrome.mojom;
10
11 import "mojo/common/file.mojom";
12
13 interface SafeArchiveAnalyzer {
14 // Build flag FULL_SAFE_BROWSING: Analyze the |zip_file| for malicious
15 // download protection, given a |temporary_file| used to extract files
tibell 2017/03/08 23:55:47 The |temporary_file| confuses me. What is it for?
Noel Gordon 2017/03/09 02:24:59 Given the chrome_utility_messages.h API, they only
16 // from the |zip_file| archive.
17 AnalyzeZipFile(mojo.common.mojom.File zip_file,
18 mojo.common.mojom.File temporary_file)
19 => (SafeArchiveAnalyzerResults results);
20
21 // Build flag FULL_SAFE_BROWSING, on OS_MACOSX: Analyze the |dmg_file|
22 // for malicious download protection.
23 AnalyzeDmgFile(mojo.common.mojom.File dmg_file)
24 => (SafeArchiveAnalyzerResults results);
25 };
26
27 [Native]
28 struct SafeArchiveAnalyzerResults;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698