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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/autofill/autofill_common_test.h" 5 #include "chrome/browser/autofill/autofill_common_test.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autofill/autofill_profile.h" 8 #include "chrome/browser/autofill/autofill_profile.h"
9 #include "chrome/browser/autofill/credit_card.h" 9 #include "chrome/browser/autofill/credit_card.h"
10 #include "chrome/browser/password_manager/encryptor.h" 10 #include "chrome/browser/password_manager/encryptor.h"
11 #include "chrome/browser/prefs/pref_service.h" 11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
14 #include "webkit/glue/form_field.h" 14 #include "webkit/glue/form_field.h"
15 15
16 namespace autofill_test { 16 namespace autofill_test {
17 17
18 void CreateTestFormField(const char* label, 18 void CreateTestFormField(const char* label,
19 const char* name, 19 const char* name,
20 const char* value, 20 const char* value,
21 const char* type, 21 const char* type,
22 webkit_glue::FormField* field) { 22 webkit_glue::FormField* field) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 Encryptor::UseMockKeychain(true); 71 Encryptor::UseMockKeychain(true);
72 #endif 72 #endif
73 73
74 // Disable auxiliary profiles for unit testing. These reach out to system 74 // Disable auxiliary profiles for unit testing. These reach out to system
75 // services on the Mac. 75 // services on the Mac.
76 profile->GetPrefs()->SetBoolean(prefs::kAutoFillAuxiliaryProfilesEnabled, 76 profile->GetPrefs()->SetBoolean(prefs::kAutoFillAuxiliaryProfilesEnabled,
77 false); 77 false);
78 } 78 }
79 79
80 } // namespace autofill_test 80 } // namespace autofill_test
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698