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

Side by Side Diff: chrome/browser/autofill/autofill_browsertest.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
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/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/time.h" 15 #include "base/time.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" 17 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h"
18 #include "chrome/browser/api/infobars/infobar_service.h" 18 #include "chrome/browser/api/infobars/infobar_service.h"
19 #include "chrome/browser/autofill/autofill_common_test.h"
20 #include "chrome/browser/autofill/autofill_external_delegate.h"
21 #include "chrome/browser/autofill/autofill_manager.h"
22 #include "chrome/browser/autofill/autofill_profile.h"
23 #include "chrome/browser/autofill/credit_card.h"
24 #include "chrome/browser/autofill/personal_data_manager.h"
25 #include "chrome/browser/autofill/personal_data_manager_factory.h" 19 #include "chrome/browser/autofill/personal_data_manager_factory.h"
26 #include "chrome/browser/autofill/personal_data_manager_observer.h"
27 #include "chrome/browser/autofill/validation.h"
28 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/translate/translate_infobar_delegate.h" 21 #include "chrome/browser/translate/translate_infobar_delegate.h"
30 #include "chrome/browser/translate/translate_manager.h" 22 #include "chrome/browser/translate/translate_manager.h"
31 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
32 #include "chrome/browser/ui/browser_window.h" 24 #include "chrome/browser/ui/browser_window.h"
33 #include "chrome/browser/ui/tabs/tab_strip_model.h" 25 #include "chrome/browser/ui/tabs/tab_strip_model.h"
34 #include "chrome/common/chrome_notification_types.h" 26 #include "chrome/common/chrome_notification_types.h"
35 #include "chrome/common/render_messages.h" 27 #include "chrome/common/render_messages.h"
36 #include "chrome/test/base/in_process_browser_test.h" 28 #include "chrome/test/base/in_process_browser_test.h"
37 #include "chrome/test/base/ui_test_utils.h" 29 #include "chrome/test/base/ui_test_utils.h"
30 #include "components/autofill/browser/autofill_common_test.h"
31 #include "components/autofill/browser/autofill_external_delegate.h"
32 #include "components/autofill/browser/autofill_manager.h"
33 #include "components/autofill/browser/autofill_profile.h"
34 #include "components/autofill/browser/credit_card.h"
35 #include "components/autofill/browser/personal_data_manager.h"
36 #include "components/autofill/browser/personal_data_manager_observer.h"
37 #include "components/autofill/browser/validation.h"
38 #include "content/public/browser/navigation_controller.h" 38 #include "content/public/browser/navigation_controller.h"
39 #include "content/public/browser/notification_observer.h" 39 #include "content/public/browser/notification_observer.h"
40 #include "content/public/browser/notification_registrar.h" 40 #include "content/public/browser/notification_registrar.h"
41 #include "content/public/browser/notification_service.h" 41 #include "content/public/browser/notification_service.h"
42 #include "content/public/browser/render_view_host.h" 42 #include "content/public/browser/render_view_host.h"
43 #include "content/public/browser/web_contents.h" 43 #include "content/public/browser/web_contents.h"
44 #include "content/public/test/browser_test_utils.h" 44 #include "content/public/test/browser_test_utils.h"
45 #include "content/public/test/test_renderer_host.h" 45 #include "content/public/test/test_renderer_host.h"
46 #include "net/url_request/test_url_fetcher_factory.h" 46 #include "net/url_request/test_url_fetcher_factory.h"
47 #include "testing/gtest/include/gtest/gtest.h" 47 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 1641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 // TODO(isherman): this looks redundant, consider removing. 1689 // TODO(isherman): this looks redundant, consider removing.
1690 // DISABLED: http://crbug.com/150084 1690 // DISABLED: http://crbug.com/150084
1691 IN_PROC_BROWSER_TEST_F(AutofillTest, 1691 IN_PROC_BROWSER_TEST_F(AutofillTest,
1692 DISABLED_MergeAggregatedDuplicatedProfiles) { 1692 DISABLED_MergeAggregatedDuplicatedProfiles) {
1693 int num_of_profiles = 1693 int num_of_profiles =
1694 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt"); 1694 AggregateProfilesIntoAutofillPrefs("dataset_no_address.txt");
1695 1695
1696 ASSERT_GT(num_of_profiles, 1696 ASSERT_GT(num_of_profiles,
1697 static_cast<int>(personal_data_manager()->GetProfiles().size())); 1697 static_cast<int>(personal_data_manager()->GetProfiles().size()));
1698 } 1698 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill-inl.h ('k') | chrome/browser/autofill/autofill_cc_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698