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

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

Issue 6575009: Move files out of chrome\browser\renderer_host\test alongside their source. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 5 #include <vector>
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/scoped_vector.h" 9 #include "base/scoped_vector.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "base/tuple.h" 13 #include "base/tuple.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/autocomplete_history_manager.h" 15 #include "chrome/browser/autocomplete_history_manager.h"
16 #include "chrome/browser/autofill/autofill_common_test.h" 16 #include "chrome/browser/autofill/autofill_common_test.h"
17 #include "chrome/browser/autofill/autofill_manager.h" 17 #include "chrome/browser/autofill/autofill_manager.h"
18 #include "chrome/browser/autofill/autofill_profile.h" 18 #include "chrome/browser/autofill/autofill_profile.h"
19 #include "chrome/browser/autofill/credit_card.h" 19 #include "chrome/browser/autofill/credit_card.h"
20 #include "chrome/browser/autofill/personal_data_manager.h" 20 #include "chrome/browser/autofill/personal_data_manager.h"
21 #include "chrome/browser/prefs/pref_service.h" 21 #include "chrome/browser/prefs/pref_service.h"
22 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
24 #include "chrome/browser/tab_contents/test_tab_contents.h"
25 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
26 #include "chrome/common/autofill_messages.h" 24 #include "chrome/common/autofill_messages.h"
27 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
28 #include "chrome/test/testing_browser_process.h" 26 #include "chrome/test/testing_browser_process.h"
29 #include "chrome/test/testing_profile.h" 27 #include "chrome/test/testing_profile.h"
28 #include "content/browser/renderer_host/test_render_view_host.h"
29 #include "content/browser/tab_contents/test_tab_contents.h"
30 #include "googleurl/src/gurl.h" 30 #include "googleurl/src/gurl.h"
31 #include "grit/generated_resources.h" 31 #include "grit/generated_resources.h"
32 #include "ipc/ipc_test_sink.h" 32 #include "ipc/ipc_test_sink.h"
33 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
34 #include "ui/base/l10n/l10n_util.h" 34 #include "ui/base/l10n/l10n_util.h"
35 #include "webkit/glue/form_data.h" 35 #include "webkit/glue/form_data.h"
36 #include "webkit/glue/form_field.h" 36 #include "webkit/glue/form_field.h"
37 37
38 using webkit_glue::FormData; 38 using webkit_glue::FormData;
39 using webkit_glue::FormField; 39 using webkit_glue::FormField;
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 #else 1748 #else
1749 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1749 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1750 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1750 prefs::kAutoFillAuxiliaryProfilesEnabled));
1751 profile()->GetPrefs()->SetBoolean( 1751 profile()->GetPrefs()->SetBoolean(
1752 prefs::kAutoFillAuxiliaryProfilesEnabled, true); 1752 prefs::kAutoFillAuxiliaryProfilesEnabled, true);
1753 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled); 1753 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled);
1754 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1754 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1755 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1755 prefs::kAutoFillAuxiliaryProfilesEnabled));
1756 #endif 1756 #endif
1757 } 1757 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete_history_manager_unittest.cc ('k') | chrome/browser/autofill/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698