OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 syntax = "proto2"; | |
6 | |
7 option optimize_for = LITE_RUNTIME; | |
8 | |
9 package content; | |
10 | |
11 message BackgroundSyncRegistrationProto { | |
12 required int64 id = 1; | |
13 required string name = 2; | |
14 optional int64 min_period = 3; | |
davidben
2015/03/25 16:01:09
Nit: Since you're storing it as 0 in-memory and ha
jkarlin
2015/03/25 19:24:17
Acknowledged.
| |
15 } | |
16 | |
17 message BackgroundSyncRegistrationsProto { | |
18 repeated BackgroundSyncRegistrationProto registration = 1; | |
19 required int64 registration_id_counter = 2; | |
davidben
2015/03/25 16:01:09
Nit: next_registration_id might be clearer. (I fee
jkarlin
2015/03/25 19:24:17
Done.
| |
20 } | |
OLD | NEW |