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

Side by Side Diff: chrome/browser/safe_browsing/csd.proto

Issue 6277002: Remove thumbnails from the ClientSideDetectionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Client side phishing and malware detection request and response 5 // Client side phishing and malware detection request and response
6 // protocol buffers. Those protocol messages should be kept in sync 6 // protocol buffers. Those protocol messages should be kept in sync
7 // with the server implementation. 7 // with the server implementation.
8 // 8 //
9 // If you want to change this protocol definition or you have questions 9 // If you want to change this protocol definition or you have questions
10 // regarding its format please contact chrome-anti-phishing@googlegroups.com. 10 // regarding its format please contact chrome-anti-phishing@googlegroups.com.
11 11
12 syntax = "proto2"; 12 syntax = "proto2";
13 13
14 option optimize_for = LITE_RUNTIME; 14 option optimize_for = LITE_RUNTIME;
15 15
16 package safe_browsing; 16 package safe_browsing;
17 17
18 message ClientPhishingRequest { 18 message ClientPhishingRequest {
19 // URL that the client visited. The CGI parameters are stripped by the 19 // URL that the client visited. The CGI parameters are stripped by the
20 // client. 20 // client.
21 required string url = 1; 21 required string url = 1;
22 22
23 // Score that was computed on the client. Value is between 0.0 and 1.0. 23 // Score that was computed on the client. Value is between 0.0 and 1.0.
24 // The larger the value the more likely the url is phishing. 24 // The larger the value the more likely the url is phishing.
25 required float client_score = 2; 25 required float client_score = 2;
26
27 // Thumbnail from the client. Supports all typical image formats (png, jpg
28 // etc.).
29 required bytes snapshot = 3;
30 } 26 }
31 27
32 message ClientPhishingResponse { 28 message ClientPhishingResponse {
33 required bool phishy = 1; 29 required bool phishy = 1;
34 } 30 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698