Chromium Code Reviews| Index: content/browser/background_sync/background_sync.proto |
| diff --git a/content/browser/background_sync/background_sync.proto b/content/browser/background_sync/background_sync.proto |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5e081f63261cc6c97fa8a700e3049f631a9d8426 |
| --- /dev/null |
| +++ b/content/browser/background_sync/background_sync.proto |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +syntax = "proto2"; |
| + |
| +option optimize_for = LITE_RUNTIME; |
| + |
| +package content; |
| + |
| +message BackgroundSyncRegistrationProto { |
| + required int64 id = 1; |
| + required string name = 2; |
| + 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.
|
| +} |
| + |
| +message BackgroundSyncRegistrationsProto { |
| + repeated BackgroundSyncRegistrationProto registration = 1; |
| + 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.
|
| +} |