| Index: content/browser/background_sync/background_sync_manager.cc
|
| diff --git a/content/browser/background_sync/background_sync_manager.cc b/content/browser/background_sync/background_sync_manager.cc
|
| index 080cd5200abd2ac8bd1072d8be8dc41fa9e67b67..0fdcf5fb992d44e787e9a148a571d980c20f7172 100644
|
| --- a/content/browser/background_sync/background_sync_manager.cc
|
| +++ b/content/browser/background_sync/background_sync_manager.cc
|
| @@ -20,7 +20,6 @@
|
|
|
| #if defined(OS_ANDROID)
|
| #include "content/browser/android/background_sync_launcher_android.h"
|
| -#include "content/browser/android/background_sync_network_observer_android.h"
|
| #endif
|
|
|
| namespace content {
|
| @@ -214,15 +213,9 @@
|
|
|
| service_worker_context_->AddObserver(this);
|
|
|
| -#if defined(OS_ANDROID)
|
| - network_observer_.reset(new BackgroundSyncNetworkObserverAndroid(
|
| - base::Bind(&BackgroundSyncManager::OnNetworkChanged,
|
| - weak_ptr_factory_.GetWeakPtr())));
|
| -#else
|
| network_observer_.reset(new BackgroundSyncNetworkObserver(
|
| base::Bind(&BackgroundSyncManager::OnNetworkChanged,
|
| weak_ptr_factory_.GetWeakPtr())));
|
| -#endif
|
| power_observer_.reset(new BackgroundSyncPowerObserver(base::Bind(
|
| &BackgroundSyncManager::OnPowerChanged, weak_ptr_factory_.GetWeakPtr())));
|
| }
|
|
|