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

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

Issue 2066083002: SafeBrowising: Read and write V4Store from/to disk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_UpdateDbAndStores
Patch Set: git pull Created 4 years, 5 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698