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

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

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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;
15
16 package safe_browsing; 14 package safe_browsing;
17 15
18 message ClientPhishingRequest { 16 message ClientPhishingRequest {
19 // URL that the client visited. The CGI parameters are stripped by the 17 // URL that the client visited. The CGI parameters are stripped by the
20 // client. 18 // client.
21 optional string url = 1; 19 optional string url = 1;
22 20
23 // A 5-byte SHA-256 hash prefix of the URL. Before hashing the URL is 21 // A 5-byte SHA-256 hash prefix of the URL. Before hashing the URL is
24 // canonicalized, converted to a suffix-prefix expression and broadened 22 // canonicalized, converted to a suffix-prefix expression and broadened
25 // (www prefix is removed and everything past the last '/' is stripped). 23 // (www prefix is removed and everything past the last '/' is stripped).
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 233
236 // Stores the information of the user who provided the feedback. 234 // Stores the information of the user who provided the feedback.
237 optional UserInformation user_information = 3; 235 optional UserInformation user_information = 3;
238 236
239 // Unstructed comments provided by the user. 237 // Unstructed comments provided by the user.
240 optional bytes comment = 4; 238 optional bytes comment = 4;
241 239
242 // The original download response sent from the verdict server. 240 // The original download response sent from the verdict server.
243 optional ClientDownloadResponse download_response = 5; 241 optional ClientDownloadResponse download_response = 5;
244 } 242 }
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/client_model.proto ('k') | chrome/tools/build/generate_policy_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698