Chromium Code Reviews

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

Issue 668171: AutoFill Mac preference for enabling Address Book "me" card usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PERSONAL_DATA_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...)
38 protected: 38 protected:
39 virtual ~Observer() {} 39 virtual ~Observer() {}
40 }; 40 };
41 41
42 virtual ~PersonalDataManager(); 42 virtual ~PersonalDataManager();
43 43
44 // WebDataServiceConsumer implementation: 44 // WebDataServiceConsumer implementation:
45 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, 45 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h,
46 const WDTypedResult* result); 46 const WDTypedResult* result);
47 47
48 // AutoFillDialogObserver implementation 48 // AutoFillDialogObserver implementation:
49 virtual void OnAutoFillDialogApply(std::vector<AutoFillProfile>* profiles, 49 virtual void OnAutoFillDialogApply(std::vector<AutoFillProfile>* profiles,
50 std::vector<CreditCard>* credit_cards); 50 std::vector<CreditCard>* credit_cards);
51 51
52
53 // Sets the listener to be notified of PersonalDataManager events. 52 // Sets the listener to be notified of PersonalDataManager events.
54 void SetObserver(PersonalDataManager::Observer* observer); 53 void SetObserver(PersonalDataManager::Observer* observer);
55 54
56 // Removes |observer| as the observer of this PersonalDataManager. 55 // Removes |observer| as the observer of this PersonalDataManager.
57 void RemoveObserver(PersonalDataManager::Observer* observer); 56 void RemoveObserver(PersonalDataManager::Observer* observer);
58 57
59 // If AutoFill is able to determine the field types of a significant number 58 // If AutoFill is able to determine the field types of a significant number
60 // of field types that contain information in the FormStructures and the user 59 // of field types that contain information in the FormStructures and the user
61 // has not previously been prompted, the user will be asked if he would like 60 // has not previously been prompted, the user will be asked if he would like
62 // to import the data. If the user selects yes, a profile will be created 61 // to import the data. If the user selects yes, a profile will be created
(...skipping 107 matching lines...)
170 WebDataService::Handle pending_profiles_query_; 169 WebDataService::Handle pending_profiles_query_;
171 WebDataService::Handle pending_creditcards_query_; 170 WebDataService::Handle pending_creditcards_query_;
172 171
173 // The observers. This can be empty. 172 // The observers. This can be empty.
174 std::vector<PersonalDataManager::Observer*> observers_; 173 std::vector<PersonalDataManager::Observer*> observers_;
175 174
176 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); 175 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager);
177 }; 176 };
178 177
179 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ 178 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine