OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/message_loop/message_loop.h" |
13 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
16 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/string_split.h" | 18 #include "base/strings/string_split.h" |
18 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
19 #include "base/time/time.h" | 20 #include "base/time/time.h" |
20 #include "build/build_config.h" | 21 #include "build/build_config.h" |
21 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 22 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
22 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 IN_PROC_BROWSER_TEST_F(AutofillTest, | 807 IN_PROC_BROWSER_TEST_F(AutofillTest, |
807 DISABLED_MergeAggregatedDuplicatedProfiles) { | 808 DISABLED_MergeAggregatedDuplicatedProfiles) { |
808 int num_of_profiles = | 809 int num_of_profiles = |
809 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt"); | 810 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt"); |
810 | 811 |
811 ASSERT_GT(num_of_profiles, | 812 ASSERT_GT(num_of_profiles, |
812 static_cast<int>(personal_data_manager()->GetProfiles().size())); | 813 static_cast<int>(personal_data_manager()->GetProfiles().size())); |
813 } | 814 } |
814 | 815 |
815 } // namespace autofill | 816 } // namespace autofill |
OLD | NEW |