| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 |
| 9 #include <map> | 10 #include <map> |
| 10 | 11 |
| 11 #include "base/android/jni_weak_ref.h" | 12 #include "base/android/jni_weak_ref.h" |
| 12 #include "base/callback.h" | 13 #include "base/callback.h" |
| 13 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 15 #include "base/macros.h" |
| 15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 16 #include "components/invalidation/public/invalidation_util.h" | 17 #include "components/invalidation/public/invalidation_util.h" |
| 17 #include "components/sync_driver/sync_prefs.h" | 18 #include "components/sync/driver/sync_prefs.h" |
| 18 #include "components/sync_driver/sync_service_observer.h" | 19 #include "components/sync/driver/sync_service_observer.h" |
| 19 #include "google/cacheinvalidation/include/types.h" | 20 #include "google/cacheinvalidation/include/types.h" |
| 20 #include "google_apis/gaia/google_service_auth_error.h" | 21 #include "google_apis/gaia/google_service_auth_error.h" |
| 21 | 22 |
| 22 namespace sync_driver { | 23 namespace sync_driver { |
| 23 class SyncSetupInProgressHandle; | 24 class SyncSetupInProgressHandle; |
| 24 } | 25 } |
| 25 | 26 |
| 26 class Profile; | 27 class Profile; |
| 27 class ProfileSyncService; | 28 class ProfileSyncService; |
| 28 | 29 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 // preferences. | 203 // preferences. |
| 203 std::unique_ptr<sync_driver::SyncPrefs> sync_prefs_; | 204 std::unique_ptr<sync_driver::SyncPrefs> sync_prefs_; |
| 204 | 205 |
| 205 // Java-side ProfileSyncService object. | 206 // Java-side ProfileSyncService object. |
| 206 JavaObjectWeakGlobalRef weak_java_profile_sync_service_; | 207 JavaObjectWeakGlobalRef weak_java_profile_sync_service_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceAndroid); | 209 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceAndroid); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ | 212 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_ANDROID_H_ |
| OLD | NEW |