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

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

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
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 // Safe Browsing reporting protocol buffers. 5 // Safe Browsing reporting protocol buffers.
6 // 6 //
7 // A ClientMalwareReportRequest is sent when a user opts-in to 7 // A ClientMalwareReportRequest is sent when a user opts-in to
8 // sending detailed malware reports from the safe browsing interstitial page. 8 // sending detailed malware reports from the safe browsing interstitial page.
9 // 9 //
10 // It is a list of Resource messages, which may contain the url of a 10 // It is a list of Resource messages, which may contain the url of a
11 // resource such as the page in the address bar or any other resource 11 // resource such as the page in the address bar or any other resource
12 // that was loaded for this page. 12 // that was loaded for this page.
13 // 13 //
14 // In addition to the url, a resource can contain HTTP request and response 14 // In addition to the url, a resource can contain HTTP request and response
15 // headers and bodies. 15 // headers and bodies.
16 16
17 syntax = "proto2"; 17 syntax = "proto2";
18 18
19 option optimize_for = LITE_RUNTIME;
20
19 package safe_browsing; 21 package safe_browsing;
20 22
21 message ClientMalwareReportRequest { 23 message ClientMalwareReportRequest {
22 24
23 message HTTPHeader { 25 message HTTPHeader {
24 required bytes name = 1; 26 required bytes name = 1;
25 optional bytes value = 2; 27 optional bytes value = 2;
26 } 28 }
27 29
28 message HTTPRequest { 30 message HTTPRequest {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 84
83 // URL of the page in the address bar. 85 // URL of the page in the address bar.
84 optional string page_url = 2; 86 optional string page_url = 2;
85 87
86 optional string referrer_url = 3; 88 optional string referrer_url = 3;
87 repeated Resource resources = 4; 89 repeated Resource resources = 4;
88 90
89 // Whether the report has HTTP Responses. 91 // Whether the report has HTTP Responses.
90 optional bool complete = 5; 92 optional bool complete = 5;
91 } 93 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/proto/old_generic_format.proto ('k') | chrome/browser/sync_file_system/sync_file_system.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698