Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: chrome/browser/autofill/auxiliary_profile_loader_android.h

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698