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

Side by Side Diff: components/autofill/core/browser/autofill_test_utils.cc

Issue 65953002: [Autofill] Rename autofill_common_test -> autofill_test_utils (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/autofill/core/browser/autofill_common_test.h" 5 #include "components/autofill/core/browser/autofill_test_utils.h"
6 6
7 #include "base/guid.h" 7 #include "base/guid.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/prefs/pref_service_builder.h" 9 #include "base/prefs/pref_service_builder.h"
10 #include "base/prefs/testing_pref_store.h" 10 #include "base/prefs/testing_pref_store.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "components/autofill/core/browser/autofill_manager.h" 12 #include "components/autofill/core/browser/autofill_manager.h"
13 #include "components/autofill/core/browser/autofill_profile.h" 13 #include "components/autofill/core/browser/autofill_profile.h"
14 #include "components/autofill/core/browser/credit_card.h" 14 #include "components/autofill/core/browser/credit_card.h"
15 #include "components/autofill/core/browser/field_types.h" 15 #include "components/autofill/core/browser/field_types.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Disable auxiliary profiles for unit testing. These reach out to system 211 // Disable auxiliary profiles for unit testing. These reach out to system
212 // services on the Mac. 212 // services on the Mac.
213 if (browser_context) { 213 if (browser_context) {
214 user_prefs::UserPrefs::Get(browser_context)->SetBoolean( 214 user_prefs::UserPrefs::Get(browser_context)->SetBoolean(
215 prefs::kAutofillAuxiliaryProfilesEnabled, false); 215 prefs::kAutofillAuxiliaryProfilesEnabled, false);
216 } 216 }
217 } 217 }
218 218
219 } // namespace test 219 } // namespace test
220 } // namespace autofill 220 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_test_utils.h ('k') | components/autofill/core/browser/credit_card_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698