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

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

Issue 323953002: Support for recording registered LSPs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grt
Patch Set: Final rebase Created 6 years, 6 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
« chrome/chrome_browser.gypi ('K') | « chrome/chrome_tests_unit.gypi ('k') | no next file » | 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // where the referrer uses HTTPS. 103 // where the referrer uses HTTPS.
104 optional string referrer_url = 4; 104 optional string referrer_url = 4;
105 105
106 // Field 5 and 6 are only used on the server. 106 // Field 5 and 6 are only used on the server.
107 107
108 message UrlInfo { 108 message UrlInfo {
109 required string ip = 1; 109 required string ip = 1;
110 required string url = 2; 110 required string url = 2;
111 optional string method = 3; 111 optional string method = 3;
112 optional string referrer = 4; 112 optional string referrer = 4;
113 // Resource type, the int value is a direct cast from the Type enum 113 // Resource type, the int value is a direct cast from the Type enum
114 // of ResourceType class defined in //src/webkit/commom/resource_type.h 114 // of ResourceType class defined in //src/webkit/commom/resource_type.h
115 optional int32 resource_type = 5; 115 optional int32 resource_type = 5;
116 } 116 }
117 117
118 // List of resource urls that match the malware IP list. 118 // List of resource urls that match the malware IP list.
119 repeated UrlInfo bad_ip_url_info = 7; 119 repeated UrlInfo bad_ip_url_info = 7;
120 } 120 }
121 121
122 message ClientMalwareResponse { 122 message ClientMalwareResponse {
123 required bool blacklist = 1; 123 required bool blacklist = 1;
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 } 373 }
374 optional OS os = 1; 374 optional OS os = 1;
375 message Machine { 375 message Machine {
376 optional string cpu_architecture = 1; 376 optional string cpu_architecture = 1;
377 optional string cpu_vendor = 2; 377 optional string cpu_vendor = 2;
378 optional uint32 cpuid = 3; 378 optional uint32 cpuid = 3;
379 } 379 }
380 optional Machine machine = 2; 380 optional Machine machine = 2;
381 message Process { 381 message Process {
382 optional string version = 1; 382 optional string version = 1;
383 repeated string dlls = 2; 383 repeated string OBSOLETE_dlls = 2;
384 message Patch { 384 message Patch {
385 optional string function = 1; 385 optional string function = 1;
386 optional string target_dll = 2; 386 optional string target_dll = 2;
387 } 387 }
388 repeated Patch patches = 3; 388 repeated Patch patches = 3;
389 message NetworkProvider {} 389 message NetworkProvider {}
390 repeated NetworkProvider network_providers = 4; 390 repeated NetworkProvider network_providers = 4;
391 enum Channel { 391 enum Channel {
392 CHANNEL_UNKNOWN = 0; 392 CHANNEL_UNKNOWN = 0;
393 CHANNEL_CANARY = 1; 393 CHANNEL_CANARY = 1;
394 CHANNEL_DEV = 2; 394 CHANNEL_DEV = 2;
395 CHANNEL_BETA = 3; 395 CHANNEL_BETA = 3;
396 CHANNEL_STABLE = 4; 396 CHANNEL_STABLE = 4;
397 } 397 }
398 optional Channel chrome_update_channel = 5; 398 optional Channel chrome_update_channel = 5;
399 optional int64 uptime_msec = 6; 399 optional int64 uptime_msec = 6;
400 message Dll {
401 enum Feature {
402 UNKNOWN = 0;
403 LSP = 1;
404 }
405 optional string path = 1;
406 optional uint32 base_address = 2;
mattm 2014/06/17 01:28:18 what about 64bit chrome?
grt (UTC plus 2) 2014/06/17 10:22:05 AddressOfEntryPoint (base_address) and SizeOfCode
grt (UTC plus 2) 2014/06/17 13:10:06 Ah, but now I see that the base_address isn't Addr
pmonette_google.com 2014/06/17 17:48:22 Done.
407 optional uint32 length = 3;
408 repeated Feature feature = 4;
409 }
410 repeated Dll dll = 9;
grt (UTC plus 2) 2014/06/16 20:30:38 note to matt: i've asked patrick to use 9 here sin
400 } 411 }
401 optional Process process = 3; 412 optional Process process = 3;
402 } 413 }
403 414
404 optional EnvironmentData environment = 3; 415 optional EnvironmentData environment = 3;
405 } 416 }
406 417
407 message ClientIncidentResponse { 418 message ClientIncidentResponse {
408 optional bytes token = 1; 419 optional bytes token = 1;
409 optional bool download_requested = 2; 420 optional bool download_requested = 2;
410 421
411 message EnvironmentRequest { optional int32 dll_index = 1; } 422 message EnvironmentRequest { optional int32 dll_index = 1; }
412 423
413 repeated EnvironmentRequest environment_requests = 3; 424 repeated EnvironmentRequest environment_requests = 3;
414 } 425 }
OLDNEW
« chrome/chrome_browser.gypi ('K') | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698