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

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

Issue 1988433002: Replace ThreatEntryType::URL_EXPRESSION with ThreatEntryType::URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | components/safe_browsing_db/v4_get_hash_protocol_manager.cc » ('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 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 optional string url = 2; 340 optional string url = 2;
341 } 341 }
342 342
343 // Types of entries that pose threats. Threat lists are collections of entries 343 // Types of entries that pose threats. Threat lists are collections of entries
344 // of a single type. 344 // of a single type.
345 enum ThreatEntryType { 345 enum ThreatEntryType {
346 // Unspecified. 346 // Unspecified.
347 THREAT_ENTRY_TYPE_UNSPECIFIED = 0; 347 THREAT_ENTRY_TYPE_UNSPECIFIED = 0;
348 348
349 // A host-suffix/path-prefix URL expression; for example, "foo.bar.com/baz/". 349 // A host-suffix/path-prefix URL expression; for example, "foo.bar.com/baz/".
350 URL_EXPRESSION = 1; 350 URL = 1;
351 351
352 // The digest of a binary. 352 // The digest of a binary.
353 BINARY_DIGEST = 2; 353 BINARY_DIGEST = 2;
354 354
355 // An IP range. 355 // An IP range.
356 IP_RANGE = 3; 356 IP_RANGE = 3;
357 } 357 }
358 358
359 // A set of threats that should be added or removed from a client's local 359 // A set of threats that should be added or removed from a client's local
360 // database. 360 // database.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 optional int64 seconds = 1; 464 optional int64 seconds = 1;
465 465
466 // Signed fractions of a second at nanosecond resolution of the span 466 // Signed fractions of a second at nanosecond resolution of the span
467 // of time. Durations less than one second are represented with a 0 467 // of time. Durations less than one second are represented with a 0
468 // `seconds` field and a positive or negative `nanos` field. For durations 468 // `seconds` field and a positive or negative `nanos` field. For durations
469 // of one second or more, a non-zero value for the `nanos` field must be 469 // of one second or more, a non-zero value for the `nanos` field must be
470 // of the same sign as the `seconds` field. Must be from -999,999,999 470 // of the same sign as the `seconds` field. Must be from -999,999,999
471 // to +999,999,999 inclusive. 471 // to +999,999,999 inclusive.
472 optional int32 nanos = 2; 472 optional int32 nanos = 2;
473 } 473 }
OLDNEW
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_get_hash_protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698