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

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

Issue 555373005: Revert "Safebrowsing: allow sending enhanced download protection pings on OSX." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Name of the file where the download would be stored if the 208 // Name of the file where the download would be stored if the
209 // download completes. E.g., "bla.exe". 209 // download completes. E.g., "bla.exe".
210 optional string file_basename = 9; 210 optional string file_basename = 9;
211 211
212 // Starting with Chrome M19 we're also sending back pings for Chrome 212 // Starting with Chrome M19 we're also sending back pings for Chrome
213 // extensions that get downloaded by users. 213 // extensions that get downloaded by users.
214 enum DownloadType { 214 enum DownloadType {
215 WIN_EXECUTABLE = 0; // Currently all .exe, .cab and .msi files. 215 WIN_EXECUTABLE = 0; // Currently all .exe, .cab and .msi files.
216 CHROME_EXTENSION = 1; // .crx files. 216 CHROME_EXTENSION = 1; // .crx files.
217 ANDROID_APK = 2; // .apk files. 217 ANDROID_APK = 2; // .apk files.
218 // .zip files containing one of the other executable types. 218 // .zip files containing one of the above executable types.
219 ZIPPED_EXECUTABLE = 3; 219 ZIPPED_EXECUTABLE = 3;
220 MAC_EXECUTABLE = 4; // .dmg, .pkg, etc.
221 } 220 }
222 optional DownloadType download_type = 10 [default = WIN_EXECUTABLE]; 221 optional DownloadType download_type = 10 [default = WIN_EXECUTABLE];
223 222
224 // Locale of the device, eg en, en_US. 223 // Locale of the device, eg en, en_US.
225 optional string locale = 11; 224 optional string locale = 11;
226 225
227 message PEImageHeaders { 226 message PEImageHeaders {
228 // IMAGE_DOS_HEADER. 227 // IMAGE_DOS_HEADER.
229 optional bytes dos_header = 1; 228 optional bytes dos_header = 1;
230 // IMAGE_FILE_HEADER. 229 // IMAGE_FILE_HEADER.
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 } 443 }
445 444
446 message ClientIncidentResponse { 445 message ClientIncidentResponse {
447 optional bytes token = 1; 446 optional bytes token = 1;
448 optional bool download_requested = 2; 447 optional bool download_requested = 2;
449 448
450 message EnvironmentRequest { optional int32 dll_index = 1; } 449 message EnvironmentRequest { optional int32 dll_index = 1; }
451 450
452 repeated EnvironmentRequest environment_requests = 3; 451 repeated EnvironmentRequest environment_requests = 3;
453 } 452 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698