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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 17 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
18 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 18 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
19 #include "chrome/browser/infobars/infobar_service.h" | 19 #include "chrome/browser/infobars/infobar_service.h" |
20 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/translate/translate_infobar_delegate.h" | 21 #include "chrome/browser/translate/translate_infobar_delegate.h" |
22 #include "chrome/browser/translate/translate_manager.h" | 22 #include "chrome/browser/translate/translate_manager.h" |
(...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 IN_PROC_BROWSER_TEST_F(AutofillTest, | 1712 IN_PROC_BROWSER_TEST_F(AutofillTest, |
1713 DISABLED_MergeAggregatedDuplicatedProfiles) { | 1713 DISABLED_MergeAggregatedDuplicatedProfiles) { |
1714 int num_of_profiles = | 1714 int num_of_profiles = |
1715 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt"); | 1715 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt"); |
1716 | 1716 |
1717 ASSERT_GT(num_of_profiles, | 1717 ASSERT_GT(num_of_profiles, |
1718 static_cast<int>(personal_data_manager()->GetProfiles().size())); | 1718 static_cast<int>(personal_data_manager()->GetProfiles().size())); |
1719 } | 1719 } |
1720 | 1720 |
1721 } // namespace autofill | 1721 } // namespace autofill |
OLD | NEW |