OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_ANDROID_H_ | |
6 #define CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_ANDROID_H_ | |
7 | |
8 #include "base/android/jni_android.h" | |
9 #include "chrome/browser/autofill/i_auxiliary_profile_loader.h" | |
10 | |
11 bool RegisterAuxiliaryProfileLoader(JNIEnv* env); | |
12 | |
13 class AuxiliaryProfileLoaderAndroid : public IAuxiliaryProfileLoader { | |
David Trainor- moved to gerrit
2013/02/27 07:49:28
disallow copy and assign macro
apiccion
2013/02/28 01:31:04
Done.
apiccion
2013/02/28 01:31:04
Done.
| |
14 public: | |
15 explicit AuxiliaryProfileLoaderAndroid(); | |
16 | |
17 // Address info | |
David Trainor- moved to gerrit
2013/02/27 07:49:28
Don't need these comments. Need something like:
/
apiccion
2013/02/28 01:31:04
Done.
| |
18 virtual string16 GetStreet(); | |
David Trainor- moved to gerrit
2013/02/27 07:49:28
Add OVERRIDE to the end of every overridden method
apiccion
2013/02/28 01:31:04
Done.
| |
19 virtual string16 GetPobox(); | |
20 virtual string16 GetNeighborhood(); | |
21 virtual string16 GetRegion(); | |
22 virtual string16 GetCity(); | |
23 virtual string16 GetPostalCode(); | |
24 virtual string16 GetCountry(); | |
25 | |
26 // Name info | |
27 virtual string16 GetFirstName(); | |
28 virtual string16 GetMiddleName(); | |
29 virtual string16 GetLastName(); | |
30 virtual string16 GetSuffix(); | |
31 | |
32 // Email info | |
33 virtual std::vector<string16> GetEmailAddresses(); | |
34 | |
35 // Phone info | |
36 virtual std::vector<string16> GetPhoneNumbers(); | |
37 | |
38 private: | |
39 base::android::ScopedJavaLocalRef<jobject> populator_; | |
40 JNIEnv* env_; | |
41 }; | |
42 #endif // CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_ANDROID_H_ | |
OLD | NEW |