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

Side by Side Diff: chrome/common/safe_browsing/crx_info.proto

Issue 2743563006: Componentize safe_browsing [+1]: move protos to component
Patch Set: fix remaining proto references 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 2013 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 syntax = "proto2";
6 option optimize_for = LITE_RUNTIME;
7
8 package extensions;
9
10 // This is used to request more information on blacklisted CRX packages. The
11 // client maintains a local cache of blacklisted ids, and makes requests to our
12 // server to get more information, such as the blacklist type.
13 message ClientCRXListInfoRequest {
14 // ID of the CRX package.
15 required string id = 1;
16
17 // Locale of the device, eg en, en_US.
18 optional string locale = 2;
19 }
20
21 message ClientCRXListInfoResponse {
22 enum Verdict {
23 NOT_IN_BLACKLIST = 0;
24 MALWARE = 1;
25 SECURITY_VULNERABILITY = 2;
26 CWS_POLICY_VIOLATION = 3;
27 POTENTIALLY_UNWANTED = 4;
28 }
29 // Although listed as optional, this is required.
30 optional Verdict verdict = 1 [default=NOT_IN_BLACKLIST];
31
32 message UserMessage {
33 // If present, will be appended to disable reason in the details page. We
34 // could use this to send a URL to a blogpost or help article.
35 optional string detail_message = 1;
36 }
37 optional UserMessage user_message = 2;
38 }
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/client_model.proto ('k') | chrome/common/safe_browsing/download_protection_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698