| Index: chrome/browser/background_sync/background_sync_controller_impl.cc
|
| diff --git a/chrome/browser/background_sync/background_sync_controller_impl.cc b/chrome/browser/background_sync/background_sync_controller_impl.cc
|
| index 7668229690e3eeca3f654ef0cb9ff39102c5b878..7412eddf265ce863b5da8155e9a5e7d96ff823b4 100644
|
| --- a/chrome/browser/background_sync/background_sync_controller_impl.cc
|
| +++ b/chrome/browser/background_sync/background_sync_controller_impl.cc
|
| @@ -8,6 +8,10 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "components/rappor/rappor_utils.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "chrome/browser/android/background_sync_launcher_android.h"
|
| +#endif
|
| +
|
| BackgroundSyncControllerImpl::BackgroundSyncControllerImpl(Profile* profile)
|
| : profile_(profile) {}
|
|
|
| @@ -28,3 +32,13 @@ void BackgroundSyncControllerImpl::NotifyBackgroundSyncRegistered(
|
| rappor::SampleDomainAndRegistryFromGURL(
|
| GetRapporService(), "BackgroundSync.Register.Origin", origin);
|
| }
|
| +
|
| +#if defined(OS_ANDROID)
|
| +void BackgroundSyncControllerImpl::LaunchBrowserWhenNextOnline(
|
| + const content::BackgroundSyncManager* registrant,
|
| + bool launch_when_next_online) {
|
| + DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| + BackgroundSyncLauncherAndroid::LaunchBrowserWhenNextOnline(
|
| + registrant, launch_when_next_online);
|
| +}
|
| +#endif
|
|
|