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

Side by Side Diff: chrome/browser/autofill/android/personal_data_manager_android.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines 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
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_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
6 #define CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 6 #define CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
7 7
8 #include "base/android/jni_helper.h" 8 #include "base/android/jni_helper.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "chrome/browser/autofill/personal_data_manager.h" 10 #include "components/autofill/browser/personal_data_manager.h"
11 #include "chrome/browser/autofill/personal_data_manager_observer.h" 11 #include "components/autofill/browser/personal_data_manager_observer.h"
12 12
13 // Android wrapper of the PersonalDataManager which provides access from the 13 // Android wrapper of the PersonalDataManager which provides access from the
14 // Java layer. Note that on Android, there's only a single profile, and 14 // Java layer. Note that on Android, there's only a single profile, and
15 // therefore a single instance of this wrapper. 15 // therefore a single instance of this wrapper.
16 class PersonalDataManagerAndroid : public PersonalDataManagerObserver { 16 class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
17 public: 17 public:
18 PersonalDataManagerAndroid(JNIEnv* env, jobject obj); 18 PersonalDataManagerAndroid(JNIEnv* env, jobject obj);
19 19
20 // Regular Autofill Profiles 20 // Regular Autofill Profiles
21 // ------------------------- 21 // -------------------------
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Pointer to the java counterpart. 88 // Pointer to the java counterpart.
89 JavaObjectWeakGlobalRef weak_java_obj_; 89 JavaObjectWeakGlobalRef weak_java_obj_;
90 90
91 // Pointer to the PersonalDataManager for the main profile. 91 // Pointer to the PersonalDataManager for the main profile.
92 PersonalDataManager* personal_data_manager_; 92 PersonalDataManager* personal_data_manager_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(PersonalDataManagerAndroid); 94 DISALLOW_COPY_AND_ASSIGN(PersonalDataManagerAndroid);
95 }; 95 };
96 96
97 #endif // CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 97 #endif // CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/address_unittest.cc ('k') | chrome/browser/autofill/android/personal_data_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698