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.
6 option optimize_for = LITE_RUNTIME;
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;
17 // Locale of the device, eg en, en_US.
18 optional string locale = 2;
21 message ClientCRXListInfoResponse {
25 SECURITY_VULNERABILITY = 2;
26 CWS_POLICY_VIOLATION = 3;
27 POTENTIALLY_UNWANTED = 4;
29 // Although listed as optional, this is required.
30 optional Verdict verdict = 1 [default=NOT_IN_BLACKLIST];
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;
37 optional UserMessage user_message = 2;