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

Unified Diff: content/browser/background_sync/background_sync_network_observer.cc

Issue 2954433002: BackgroundSync: Convert to base::BindOnce/OnceCallback/OnceClosure (Closed)
Patch Set: rename local variable Created 3 years, 6 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_network_observer.cc
diff --git a/content/browser/background_sync/background_sync_network_observer.cc b/content/browser/background_sync/background_sync_network_observer.cc
index 15e72ebbb0462fcb48e7d5021d3c92735a345d1e..0746401e1d9c03b527f93adf092c684717b48e47 100644
--- a/content/browser/background_sync/background_sync_network_observer.cc
+++ b/content/browser/background_sync/background_sync_network_observer.cc
@@ -21,7 +21,7 @@ void BackgroundSyncNetworkObserver::SetIgnoreNetworkChangeNotifierForTests(
}
BackgroundSyncNetworkObserver::BackgroundSyncNetworkObserver(
- const base::Closure& network_changed_callback)
+ const base::RepeatingClosure& network_changed_callback)
: connection_type_(net::NetworkChangeNotifier::GetConnectionType()),
network_changed_callback_(network_changed_callback) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);

Powered by Google App Engine
This is Rietveld 408576698