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

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

Issue 1617063002: [BackgroundSync Cleanup] Remove power observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Found more 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_manager.h » ('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 11adc3133c3afafb59ebbc517e47d4aebc8e453f..c6b404552fdb4e2e9f0b65fe374388f72359ebef 100644
--- a/content/browser/background_sync/background_sync.proto
+++ b/content/browser/background_sync/background_sync.proto
@@ -14,11 +14,6 @@ enum SyncNetworkState {
NETWORK_STATE_ONLINE = 2;
}
-enum SyncPowerState {
- POWER_STATE_AUTO = 0;
- POWER_STATE_AVOID_DRAINING = 1;
-}
-
enum SyncPeriodicity {
SYNC_PERIODIC = 0;
SYNC_ONE_SHOT = 1;
@@ -30,7 +25,7 @@ message BackgroundSyncRegistrationProto {
required SyncPeriodicity periodicity = 3;
required int64 min_period = 4;
required SyncNetworkState network_state = 5;
- required SyncPowerState power_state = 6;
+ // required SyncPowerState power_state = 6;
required int32 num_attempts = 7;
required int64 delay_until = 8;
}
« no previous file with comments | « no previous file | content/browser/background_sync/background_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698