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

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

Issue 1024943002: Add domain request detection to incident reporting service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DomainRequest incident type to histograms.xml Created 5 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
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.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 optional ClientDownloadRequest.SignatureInfo signature = 5; 364 optional ClientDownloadRequest.SignatureInfo signature = 5;
365 optional ClientDownloadRequest.ImageHeaders image_headers = 6; 365 optional ClientDownloadRequest.ImageHeaders image_headers = 6;
366 } 366 }
367 message VariationsSeedSignatureIncident { 367 message VariationsSeedSignatureIncident {
368 optional string variations_seed_signature = 1; 368 optional string variations_seed_signature = 1;
369 } 369 }
370 message ScriptRequestIncident { 370 message ScriptRequestIncident {
371 optional string script_digest = 1; 371 optional string script_digest = 1;
372 optional string inclusion_origin = 2; 372 optional string inclusion_origin = 2;
373 } 373 }
374 message DomainRequestIncident {
grt (UTC plus 2) 2015/03/20 20:50:04 This new type is so similar to the existing one, t
grt (UTC plus 2) 2015/03/21 01:30:07 I just remembered that enums in protobufs must sta
romanl 2015/03/26 22:01:47 Done.
romanl 2015/03/26 22:01:47 Done.
375 optional string domain_digest = 1;
376 optional string request_origin = 2;
377 }
374 optional int64 incident_time_msec = 1; 378 optional int64 incident_time_msec = 1;
375 optional TrackedPreferenceIncident tracked_preference = 2; 379 optional TrackedPreferenceIncident tracked_preference = 2;
376 optional BinaryIntegrityIncident binary_integrity = 3; 380 optional BinaryIntegrityIncident binary_integrity = 3;
377 optional BlacklistLoadIncident blacklist_load = 4; 381 optional BlacklistLoadIncident blacklist_load = 4;
378 // Note: skip tag 5 because it was previously used. 382 // Note: skip tag 5 because it was previously used.
379 optional VariationsSeedSignatureIncident variations_seed_signature = 6; 383 optional VariationsSeedSignatureIncident variations_seed_signature = 6;
380 optional ScriptRequestIncident script_request = 7; 384 optional ScriptRequestIncident script_request = 7;
385 optional DomainRequestIncident domain_request = 8;
381 } 386 }
382 387
383 repeated IncidentData incident = 1; 388 repeated IncidentData incident = 1;
384 389
385 message DownloadDetails { 390 message DownloadDetails {
386 optional bytes token = 1; 391 optional bytes token = 1;
387 optional ClientDownloadRequest download = 2; 392 optional ClientDownloadRequest download = 2;
388 optional int64 download_time_msec = 3; 393 optional int64 download_time_msec = 3;
389 optional int64 open_time_msec = 4; 394 optional int64 open_time_msec = 4;
390 } 395 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 message EnvironmentRequest { optional int32 dll_index = 1; } 468 message EnvironmentRequest { optional int32 dll_index = 1; }
464 469
465 repeated EnvironmentRequest environment_requests = 3; 470 repeated EnvironmentRequest environment_requests = 3;
466 } 471 }
467 472
468 message DownloadMetadata { 473 message DownloadMetadata {
469 optional uint32 download_id = 1; 474 optional uint32 download_id = 1;
470 475
471 optional ClientIncidentReport.DownloadDetails download = 2; 476 optional ClientIncidentReport.DownloadDetails download = 2;
472 } 477 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698