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

Side by Side Diff: content/browser/background_sync/background_sync.proto

Issue 950343006: [BackgroundSync] Initial land of the BackgroundSyncManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mapped registrations, more tests, register overwrites existing, unique ids for registrations Created 5 years, 9 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 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698