OLD | NEW |
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 COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FirstMiddleLast); | 229 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FirstMiddleLast); |
230 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, AutofillIsEnabledAtStartup); | 230 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, AutofillIsEnabledAtStartup); |
231 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, | 231 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, |
232 AggregateExistingAuxiliaryProfile); | 232 AggregateExistingAuxiliaryProfile); |
233 friend class autofill::AutofillInteractiveTest; | 233 friend class autofill::AutofillInteractiveTest; |
234 friend class autofill::AutofillTest; | 234 friend class autofill::AutofillTest; |
235 friend class autofill::PersonalDataManagerFactory; | 235 friend class autofill::PersonalDataManagerFactory; |
236 friend class PersonalDataManagerTest; | 236 friend class PersonalDataManagerTest; |
237 friend class ProfileSyncServiceAutofillTest; | 237 friend class ProfileSyncServiceAutofillTest; |
238 friend class ::RemoveAutofillTester; | 238 friend class ::RemoveAutofillTester; |
239 friend class TestingAutomationProvider; | |
240 friend struct base::DefaultDeleter<PersonalDataManager>; | 239 friend struct base::DefaultDeleter<PersonalDataManager>; |
241 friend void autofill_helper::SetProfiles( | 240 friend void autofill_helper::SetProfiles( |
242 int, std::vector<autofill::AutofillProfile>*); | 241 int, std::vector<autofill::AutofillProfile>*); |
243 friend void autofill_helper::SetCreditCards( | 242 friend void autofill_helper::SetCreditCards( |
244 int, std::vector<autofill::CreditCard>*); | 243 int, std::vector<autofill::CreditCard>*); |
245 | 244 |
246 // Sets |web_profiles_| to the contents of |profiles| and updates the web | 245 // Sets |web_profiles_| to the contents of |profiles| and updates the web |
247 // database by adding, updating and removing profiles. | 246 // database by adding, updating and removing profiles. |
248 // The relationship between this and Refresh is subtle. | 247 // The relationship between this and Refresh is subtle. |
249 // A call to |SetProfiles| could include out-of-date data that may conflict | 248 // A call to |SetProfiles| could include out-of-date data that may conflict |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 372 |
374 // An observer to listen for changes to prefs::kAutofillEnabled. | 373 // An observer to listen for changes to prefs::kAutofillEnabled. |
375 scoped_ptr<BooleanPrefMember> enabled_pref_; | 374 scoped_ptr<BooleanPrefMember> enabled_pref_; |
376 | 375 |
377 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); | 376 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); |
378 }; | 377 }; |
379 | 378 |
380 } // namespace autofill | 379 } // namespace autofill |
381 | 380 |
382 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 381 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
OLD | NEW |