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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android build Created 7 years, 6 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 "components/autofill/browser/autofill_common_test.h" 5 #include "components/autofill/core/browser/autofill_common_test.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/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "components/autofill/browser/autofill_profile.h" 11 #include "components/autofill/core/browser/autofill_profile.h"
12 #include "components/autofill/browser/credit_card.h" 12 #include "components/autofill/core/browser/credit_card.h"
13 #include "components/autofill/core/common/autofill_pref_names.h" 13 #include "components/autofill/core/common/autofill_pref_names.h"
14 #include "components/autofill/core/common/form_field_data.h" 14 #include "components/autofill/core/common/form_field_data.h"
15 #include "components/user_prefs/user_prefs.h" 15 #include "components/user_prefs/user_prefs.h"
16 #include "components/webdata/encryptor/encryptor.h" 16 #include "components/webdata/encryptor/encryptor.h"
17 17
18 namespace autofill { 18 namespace autofill {
19 namespace test { 19 namespace test {
20 20
21 namespace { 21 namespace {
22 22
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // Disable auxiliary profiles for unit testing. These reach out to system 151 // Disable auxiliary profiles for unit testing. These reach out to system
152 // services on the Mac. 152 // services on the Mac.
153 if (profile) { 153 if (profile) {
154 user_prefs::UserPrefs::Get(profile)->SetBoolean( 154 user_prefs::UserPrefs::Get(profile)->SetBoolean(
155 prefs::kAutofillAuxiliaryProfilesEnabled, false); 155 prefs::kAutofillAuxiliaryProfilesEnabled, false);
156 } 156 }
157 } 157 }
158 158
159 } // namespace test 159 } // namespace test
160 } // namespace autofill 160 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698