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

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

Issue 720163003: Safe Browsing: Add Omnibox Interaction Incident Reporter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 6 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) 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 message BinaryIntegrityIncident { 355 message BinaryIntegrityIncident {
356 optional string file_basename = 1; 356 optional string file_basename = 1;
357 optional ClientDownloadRequest.SignatureInfo signature = 2; 357 optional ClientDownloadRequest.SignatureInfo signature = 2;
358 } 358 }
359 message BlacklistLoadIncident { 359 message BlacklistLoadIncident {
360 optional string path = 1; 360 optional string path = 1;
361 optional ClientDownloadRequest.Digests digest = 2; 361 optional ClientDownloadRequest.Digests digest = 2;
362 optional string version = 3; 362 optional string version = 3;
363 optional bool blacklist_initialized = 4; 363 optional bool blacklist_initialized = 4;
364 } 364 }
365 message OmniboxIncident {
366 optional string destination_url = 1;
367 }
365 optional int64 incident_time_msec = 1; 368 optional int64 incident_time_msec = 1;
366 optional TrackedPreferenceIncident tracked_preference = 2; 369 optional TrackedPreferenceIncident tracked_preference = 2;
367 optional BinaryIntegrityIncident binary_integrity = 3; 370 optional BinaryIntegrityIncident binary_integrity = 3;
368 optional BlacklistLoadIncident blacklist_load = 4; 371 optional BlacklistLoadIncident blacklist_load = 4;
372 optional OmniboxIncident omnibox_interaction = 5;
grt (UTC plus 2) 2014/11/15 17:56:15 omnibox_interaction -> omnibox for consistency's s
Mark P 2014/11/18 00:54:44 Did the latter.
369 } 373 }
370 374
371 repeated IncidentData incident = 1; 375 repeated IncidentData incident = 1;
372 376
373 message DownloadDetails { 377 message DownloadDetails {
374 optional bytes token = 1; 378 optional bytes token = 1;
375 optional ClientDownloadRequest download = 2; 379 optional ClientDownloadRequest download = 2;
376 optional int64 download_time_msec = 3; 380 optional int64 download_time_msec = 3;
377 optional int64 open_time_msec = 4; 381 optional int64 open_time_msec = 4;
378 } 382 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 } 448 }
445 449
446 message ClientIncidentResponse { 450 message ClientIncidentResponse {
447 optional bytes token = 1; 451 optional bytes token = 1;
448 optional bool download_requested = 2; 452 optional bool download_requested = 2;
449 453
450 message EnvironmentRequest { optional int32 dll_index = 1; } 454 message EnvironmentRequest { optional int32 dll_index = 1; }
451 455
452 repeated EnvironmentRequest environment_requests = 3; 456 repeated EnvironmentRequest environment_requests = 3;
453 } 457 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698