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 #include "chrome/browser/android/signin/account_tracker_service_android.h" | 5 #include "chrome/browser/android/signin/account_tracker_service_android.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
8 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
9 #include "chrome/browser/signin/account_tracker_service_factory.h" | 11 #include "chrome/browser/signin/account_tracker_service_factory.h" |
10 #include "components/signin/core/browser/account_tracker_service.h" | 12 #include "components/signin/core/browser/account_tracker_service.h" |
11 #include "jni/AccountTrackerService_jni.h" | 13 #include "jni/AccountTrackerService_jni.h" |
12 | 14 |
13 namespace signin { | 15 namespace signin { |
14 namespace android { | 16 namespace android { |
15 | 17 |
16 void SeedAccountsInfo(JNIEnv* env, | 18 void SeedAccountsInfo(JNIEnv* env, |
(...skipping 17 matching lines...) Expand all Loading... |
34 account_tracker_service->SeedAccountInfo(gaia_ids[i], account_names[i]); | 36 account_tracker_service->SeedAccountInfo(gaia_ids[i], account_names[i]); |
35 } | 37 } |
36 } | 38 } |
37 | 39 |
38 bool RegisterAccountTrackerService(JNIEnv* env) { | 40 bool RegisterAccountTrackerService(JNIEnv* env) { |
39 return RegisterNativesImpl(env); | 41 return RegisterNativesImpl(env); |
40 } | 42 } |
41 | 43 |
42 } // namespace android | 44 } // namespace android |
43 } // namespace signin | 45 } // namespace signin |
OLD | NEW |