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

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: Minor corrections Created 5 years, 8 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | 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) 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 optional string path = 1; 375 optional string path = 1;
376 optional ClientDownloadRequest.Digests digest = 2; 376 optional ClientDownloadRequest.Digests digest = 2;
377 optional string version = 3; 377 optional string version = 3;
378 optional bool blacklist_initialized = 4; 378 optional bool blacklist_initialized = 4;
379 optional ClientDownloadRequest.SignatureInfo signature = 5; 379 optional ClientDownloadRequest.SignatureInfo signature = 5;
380 optional ClientDownloadRequest.ImageHeaders image_headers = 6; 380 optional ClientDownloadRequest.ImageHeaders image_headers = 6;
381 } 381 }
382 message VariationsSeedSignatureIncident { 382 message VariationsSeedSignatureIncident {
383 optional string variations_seed_signature = 1; 383 optional string variations_seed_signature = 1;
384 } 384 }
385 message ScriptRequestIncident { 385
grt (UTC plus 2) 2015/03/30 15:50:44 nit: remove blank line for consistency with all of
386 optional bytes script_digest = 1; 386 message ResourceRequestIncident {
387 optional string inclusion_origin = 2; 387 enum Type {
388 UNKNOWN = 0;
389 TYPE_SCRIPT = 1;
390 TYPE_DOMAIN = 2;
391 }
392 optional bytes digest = 1;
393 optional string origin = 2;
394 optional Type type = 3;
388 } 395 }
389 optional int64 incident_time_msec = 1; 396 optional int64 incident_time_msec = 1;
390 optional TrackedPreferenceIncident tracked_preference = 2; 397 optional TrackedPreferenceIncident tracked_preference = 2;
391 optional BinaryIntegrityIncident binary_integrity = 3; 398 optional BinaryIntegrityIncident binary_integrity = 3;
392 optional BlacklistLoadIncident blacklist_load = 4; 399 optional BlacklistLoadIncident blacklist_load = 4;
393 // Note: skip tag 5 because it was previously used. 400 // Note: skip tag 5 because it was previously used.
394 optional VariationsSeedSignatureIncident variations_seed_signature = 6; 401 optional VariationsSeedSignatureIncident variations_seed_signature = 6;
395 optional ScriptRequestIncident script_request = 7; 402 optional ResourceRequestIncident resource_request = 7;
396 } 403 }
397 404
398 repeated IncidentData incident = 1; 405 repeated IncidentData incident = 1;
399 406
400 message DownloadDetails { 407 message DownloadDetails {
401 optional bytes token = 1; 408 optional bytes token = 1;
402 optional ClientDownloadRequest download = 2; 409 optional ClientDownloadRequest download = 2;
403 optional int64 download_time_msec = 3; 410 optional int64 download_time_msec = 3;
404 optional int64 open_time_msec = 4; 411 optional int64 open_time_msec = 4;
405 } 412 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 message EnvironmentRequest { optional int32 dll_index = 1; } 485 message EnvironmentRequest { optional int32 dll_index = 1; }
479 486
480 repeated EnvironmentRequest environment_requests = 3; 487 repeated EnvironmentRequest environment_requests = 3;
481 } 488 }
482 489
483 message DownloadMetadata { 490 message DownloadMetadata {
484 optional uint32 download_id = 1; 491 optional uint32 download_id = 1;
485 492
486 optional ClientIncidentReport.DownloadDetails download = 2; 493 optional ClientIncidentReport.DownloadDetails download = 2;
487 } 494 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698