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

Unified Diff: content/browser/background_sync/background_sync.proto

Issue 1614063002: [BackgroundSync Cleanup] Remove periodic sync code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@purge_power
Patch Set: Address comments from PS3 Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/background_sync/background_sync_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index c6b404552fdb4e2e9f0b65fe374388f72359ebef..62dbe72b359a73ce216f850ab428819152085e80 100644
--- a/content/browser/background_sync/background_sync.proto
+++ b/content/browser/background_sync/background_sync.proto
@@ -14,16 +14,11 @@ enum SyncNetworkState {
NETWORK_STATE_ONLINE = 2;
}
-enum SyncPeriodicity {
- SYNC_PERIODIC = 0;
- SYNC_ONE_SHOT = 1;
-}
-
message BackgroundSyncRegistrationProto {
required int64 id = 1;
required string tag = 2;
- required SyncPeriodicity periodicity = 3;
- required int64 min_period = 4;
+ // required SyncPeriodicity periodicity = 3;
+ // required int64 min_period = 4;
required SyncNetworkState network_state = 5;
// required SyncPowerState power_state = 6;
required int32 num_attempts = 7;
« no previous file with comments | « no previous file | content/browser/background_sync/background_sync_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698