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

Side by Side Diff: components/autofill/core/browser/personal_data_manager.h

Issue 2398253003: Early exit from autofill profile de-duplication if <2 profiles. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | components/autofill/core/browser/personal_data_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ApplyDedupingRoutine_MergedProfileValues); 294 ApplyDedupingRoutine_MergedProfileValues);
295 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 295 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
296 ApplyDedupingRoutine_VerifiedProfileFirst); 296 ApplyDedupingRoutine_VerifiedProfileFirst);
297 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 297 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
298 ApplyDedupingRoutine_VerifiedProfileLast); 298 ApplyDedupingRoutine_VerifiedProfileLast);
299 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 299 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
300 ApplyDedupingRoutine_MultipleVerifiedProfiles); 300 ApplyDedupingRoutine_MultipleVerifiedProfiles);
301 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 301 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
302 ApplyDedupingRoutine_FeatureDisabled); 302 ApplyDedupingRoutine_FeatureDisabled);
303 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 303 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
304 ApplyDedupingRoutine_NopIfZeroProfiles);
305 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
306 ApplyDedupingRoutine_NopIfOneProfile);
307 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
304 ApplyDedupingRoutine_OncePerVersion); 308 ApplyDedupingRoutine_OncePerVersion);
305 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 309 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
306 ApplyDedupingRoutine_MultipleDedupes); 310 ApplyDedupingRoutine_MultipleDedupes);
307 friend class autofill::AutofillInteractiveTest; 311 friend class autofill::AutofillInteractiveTest;
308 friend class autofill::AutofillTest; 312 friend class autofill::AutofillTest;
309 friend class autofill::PersonalDataManagerFactory; 313 friend class autofill::PersonalDataManagerFactory;
310 friend class PersonalDataManagerTest; 314 friend class PersonalDataManagerTest;
311 friend class ProfileSyncServiceAutofillTest; 315 friend class ProfileSyncServiceAutofillTest;
312 friend class ::RemoveAutofillTester; 316 friend class ::RemoveAutofillTester;
313 friend std::default_delete<PersonalDataManager>; 317 friend std::default_delete<PersonalDataManager>;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // validation rules. 522 // validation rules.
519 scoped_refptr<net::URLRequestContextGetter> context_getter_; 523 scoped_refptr<net::URLRequestContextGetter> context_getter_;
520 #endif 524 #endif
521 525
522 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); 526 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager);
523 }; 527 };
524 528
525 } // namespace autofill 529 } // namespace autofill
526 530
527 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ 531 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698