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_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 static bool Register(JNIEnv* env); | 23 static bool Register(JNIEnv* env); |
24 | 24 |
25 void SeedAccountsInfo(JNIEnv* env, | 25 void SeedAccountsInfo(JNIEnv* env, |
26 jobject obj, | 26 jobject obj, |
27 jobjectArray gaiaIds, | 27 jobjectArray gaiaIds, |
28 jobjectArray accountNames); | 28 jobjectArray accountNames); |
29 | 29 |
30 private: | 30 private: |
31 ~AccountTrackerServiceAndroid(); | 31 ~AccountTrackerServiceAndroid(); |
32 | 32 |
| 33 bool seeded_accounts_info_; |
33 base::android::ScopedJavaGlobalRef<jobject> java_account_tracker_service_; | 34 base::android::ScopedJavaGlobalRef<jobject> java_account_tracker_service_; |
34 }; | 35 }; |
35 | 36 |
36 #endif // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ | 37 #endif // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_TRACKER_SERVICE_ANDROID_H_ |
OLD | NEW |