OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 | 11 |
10 #include "base/android/jni_android.h" | 12 #include "base/android/jni_android.h" |
11 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 | 17 |
16 class BackgroundSyncManager; | 18 class BackgroundSyncManager; |
17 | 19 |
(...skipping 20 matching lines...) Expand all Loading... |
38 ~BackgroundSyncLauncherAndroid(); | 40 ~BackgroundSyncLauncherAndroid(); |
39 | 41 |
40 void LaunchBrowserIfStoppedImpl(bool launch_when_next_online, | 42 void LaunchBrowserIfStoppedImpl(bool launch_when_next_online, |
41 int64_t min_delay_ms); | 43 int64_t min_delay_ms); |
42 | 44 |
43 base::android::ScopedJavaGlobalRef<jobject> java_launcher_; | 45 base::android::ScopedJavaGlobalRef<jobject> java_launcher_; |
44 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncLauncherAndroid); | 46 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncLauncherAndroid); |
45 }; | 47 }; |
46 | 48 |
47 #endif // CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ | 49 #endif // CHROME_BROWSER_ANDROID_BACKGROUND_SYNC_LAUNCHER_ANDROID_H_ |
OLD | NEW |