Chromium Code Reviews| 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..b7270db4c000071a2103360702479032b4f39755 100644 |
| --- a/content/browser/android/background_sync_launcher_android.h |
| +++ b/chrome/browser/android/background_sync_launcher_android.h |
| @@ -2,25 +2,25 @@ |
| // 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; |
|
jkarlin
2015/10/20 17:45:56
nit: Add newline
iclelland
2015/10/20 18:56:06
Done.
|
| +} |
| // 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 +32,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 +44,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_ |