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

Side by Side Diff: components/safe_browsing_db/safebrowsing.proto

Issue 2685023002: XS: Use the correct enum value for SUBRESOURCE_FILTER (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file includes Safe Browsing V4 API blacklist request and response 5 // This file includes Safe Browsing V4 API blacklist request and response
6 // protocol buffers. They should be kept in sync with the server implementation. 6 // protocol buffers. They should be kept in sync with the server implementation.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 CSD_WHITELIST = 8; 278 CSD_WHITELIST = 8;
279 279
280 // Client side download detection whitelist threat type. 280 // Client side download detection whitelist threat type.
281 CSD_DOWNLOAD_WHITELIST = 9; 281 CSD_DOWNLOAD_WHITELIST = 9;
282 282
283 // Client incident threat type. 283 // Client incident threat type.
284 CLIENT_INCIDENT = 10; 284 CLIENT_INCIDENT = 10;
285 285
286 // Patterns to be used for activating the subresource filter. Interstitial 286 // Patterns to be used for activating the subresource filter. Interstitial
287 // will not be shown for patterns from this list. 287 // will not be shown for patterns from this list.
288 SUBRESOURCE_FILTER = 11; 288 SUBRESOURCE_FILTER = 13;
289 } 289 }
290 290
291 // Types of platforms. 291 // Types of platforms.
292 enum PlatformType { 292 enum PlatformType {
293 // Unknown platform. 293 // Unknown platform.
294 PLATFORM_TYPE_UNSPECIFIED = 0; 294 PLATFORM_TYPE_UNSPECIFIED = 0;
295 295
296 // Threat posed to Windows. 296 // Threat posed to Windows.
297 WINDOWS_PLATFORM = 1; 297 WINDOWS_PLATFORM = 1;
298 298
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 optional int64 seconds = 1; 514 optional int64 seconds = 1;
515 515
516 // Signed fractions of a second at nanosecond resolution of the span 516 // Signed fractions of a second at nanosecond resolution of the span
517 // of time. Durations less than one second are represented with a 0 517 // of time. Durations less than one second are represented with a 0
518 // `seconds` field and a positive or negative `nanos` field. For durations 518 // `seconds` field and a positive or negative `nanos` field. For durations
519 // of one second or more, a non-zero value for the `nanos` field must be 519 // of one second or more, a non-zero value for the `nanos` field must be
520 // of the same sign as the `seconds` field. Must be from -999,999,999 520 // of the same sign as the `seconds` field. Must be from -999,999,999
521 // to +999,999,999 inclusive. 521 // to +999,999,999 inclusive.
522 optional int32 nanos = 2; 522 optional int32 nanos = 2;
523 } 523 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698