OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 import "safebrowsing.proto"; |
| 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
| 11 package safe_browsing; |
| 12 |
| 13 // The message that's serialized to disk when a store update is processed. |
| 14 message V4StoreFileFormat { |
| 15 // The magic number to identify this file as a SafeBrowsing hash-prefix file. |
| 16 // https://en.wikipedia.org/wiki/Magic_number_(programming) |
| 17 // Its value is 0x600D71FE |
| 18 optional uint32 magic_number = 1; |
| 19 |
| 20 // Identifies the version of the file format. |
| 21 // Version 9 with PVer4 is very different from earlier versions. |
| 22 optional uint32 version_number = 2; |
| 23 |
| 24 // Information about the store and the hash-prefix updates. |
| 25 optional FetchThreatListUpdatesResponse.ListUpdateResponse |
| 26 list_update_response = 3; |
| 27 } |
OLD | NEW |