| Index: chrome/browser/android/background_sync_launcher_android.h
|
| diff --git a/content/browser/android/background_sync_launcher_android.h b/chrome/browser/android/background_sync_launcher_android.h
|
| similarity index 73%
|
| rename from content/browser/android/background_sync_launcher_android.h
|
| rename to chrome/browser/android/background_sync_launcher_android.h
|
| index 77018f44c07faa7396b1e8563542c80335b7c223..ced342201fd51da2a244a3ef79f12c4c5c5a2b05 100644
|
| --- a/content/browser/android/background_sync_launcher_android.h
|
| +++ b/chrome/browser/android/background_sync_launcher_android.h
|
| @@ -2,25 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
| -#define CONTENT_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
| +#ifndef CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
| +#define CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
|
|
| #include <set>
|
|
|
| #include "base/android/jni_android.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/macros.h"
|
| -#include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| class BackgroundSyncManager;
|
|
|
| +}
|
| +
|
| // The BackgroundSyncLauncherAndroid singleton owns the Java
|
| // BackgroundSyncLauncher object and is used to register interest in starting
|
| // the browser the next time the device goes online. This class runs on the UI
|
| // thread.
|
| -class CONTENT_EXPORT BackgroundSyncLauncherAndroid {
|
| +class BackgroundSyncLauncherAndroid {
|
| public:
|
| static BackgroundSyncLauncherAndroid* Get();
|
|
|
| @@ -32,7 +33,7 @@ class CONTENT_EXPORT BackgroundSyncLauncherAndroid {
|
| // created (browser restart). The caller can remove interest in launching the
|
| // browser by calling with |launch_when_next_online| set to false.
|
| static void LaunchBrowserWhenNextOnline(
|
| - const BackgroundSyncManager* registrant,
|
| + const content::BackgroundSyncManager* registrant,
|
| bool launch_when_next_online);
|
|
|
| static bool RegisterLauncher(JNIEnv* env);
|
| @@ -44,14 +45,14 @@ class CONTENT_EXPORT BackgroundSyncLauncherAndroid {
|
| BackgroundSyncLauncherAndroid();
|
| ~BackgroundSyncLauncherAndroid();
|
|
|
| - void LaunchBrowserWhenNextOnlineImpl(const BackgroundSyncManager* registrant,
|
| - bool launch_when_next_online);
|
| + void LaunchBrowserWhenNextOnlineImpl(
|
| + const content::BackgroundSyncManager* registrant,
|
| + bool launch_when_next_online);
|
|
|
| - std::set<const BackgroundSyncManager*> launch_when_next_online_registrants_;
|
| + std::set<const content::BackgroundSyncManager*>
|
| + launch_when_next_online_registrants_;
|
| base::android::ScopedJavaGlobalRef<jobject> java_launcher_;
|
| DISALLOW_COPY_AND_ASSIGN(BackgroundSyncLauncherAndroid);
|
| };
|
|
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
| +#endif // CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_
|
|
|