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

Unified Diff: content/browser/background_sync/background_sync_manager.h

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
Index: content/browser/background_sync/background_sync_manager.h
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index 42a69ea89897e86e36a528486c80b752673f9587..5f1c7620c7bae3f292fb1ea69cc996ea5237adaa 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -37,7 +37,6 @@
namespace content {
class BackgroundSyncNetworkObserver;
-class BackgroundSyncPowerObserver;
class ServiceWorkerContextWrapper;
// BackgroundSyncManager manages and stores the set of background sync
@@ -362,7 +361,6 @@ class CONTENT_EXPORT BackgroundSyncManager
void OnStorageWipedImpl(const base::Closure& callback);
void OnNetworkChanged();
- void OnPowerChanged();
// SetMaxSyncAttempts callback
void SetMaxSyncAttemptsImpl(int max_sync_attempts,
@@ -404,7 +402,6 @@ class CONTENT_EXPORT BackgroundSyncManager
base::CancelableCallback<void()> delayed_sync_task_;
scoped_ptr<BackgroundSyncNetworkObserver> network_observer_;
- scoped_ptr<BackgroundSyncPowerObserver> power_observer_;
// The registrations that clients have handles to.
IDMap<scoped_refptr<RefCountedRegistration>,
« no previous file with comments | « content/browser/background_sync/background_sync.proto ('k') | content/browser/background_sync/background_sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698