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> |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
7 #include "base/basictypes.h" | |
8 #include "base/command_line.h" | 9 #include "base/command_line.h" |
9 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/rand_util.h" | 13 #include "base/rand_util.h" |
13 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
14 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
15 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
17 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 20 #include "build/build_config.h" |
19 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 21 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
20 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/ui/browser.h" | 23 #include "chrome/browser/ui/browser.h" |
22 #include "chrome/browser/ui/browser_navigator_params.h" | 24 #include "chrome/browser/ui/browser_navigator_params.h" |
23 #include "chrome/browser/ui/browser_window.h" | 25 #include "chrome/browser/ui/browser_window.h" |
24 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 26 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
25 #include "chrome/test/base/in_process_browser_test.h" | 27 #include "chrome/test/base/in_process_browser_test.h" |
26 #include "chrome/test/base/test_switches.h" | 28 #include "chrome/test/base/test_switches.h" |
27 #include "chrome/test/base/ui_test_utils.h" | 29 #include "chrome/test/base/ui_test_utils.h" |
28 #include "components/autofill/content/browser/content_autofill_driver.h" | 30 #include "components/autofill/content/browser/content_autofill_driver.h" |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 IN_PROC_BROWSER_TEST_F(AutofillTest, | 840 IN_PROC_BROWSER_TEST_F(AutofillTest, |
839 DISABLED_MergeAggregatedDuplicatedProfiles) { | 841 DISABLED_MergeAggregatedDuplicatedProfiles) { |
840 int num_of_profiles = | 842 int num_of_profiles = |
841 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt"); | 843 AggregateProfilesIntoAutofillPrefs("dataset_duplicated_profiles.txt"); |
842 | 844 |
843 ASSERT_GT(num_of_profiles, | 845 ASSERT_GT(num_of_profiles, |
844 static_cast<int>(personal_data_manager()->GetProfiles().size())); | 846 static_cast<int>(personal_data_manager()->GetProfiles().size())); |
845 } | 847 } |
846 | 848 |
847 } // namespace autofill | 849 } // namespace autofill |
OLD | NEW |