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

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

Issue 6633001: Convert autofill messages to use the new IPC macros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/autofill/address_field.cc ('k') | chrome/browser/autofill/autofill_field.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 class AutoFillProfile; 9 class AutoFillProfile;
10 class CreditCard; 10 class CreditCard;
11 class Profile; 11 class Profile;
12 12
13 namespace webkit_glue { 13 namespace webkit_glue {
14 class FormField; 14 struct FormField;
15 } // namespace webkit_glue 15 } // namespace webkit_glue
16 16
17 // Common utilities shared amongst AutoFill tests. 17 // Common utilities shared amongst AutoFill tests.
18 namespace autofill_test { 18 namespace autofill_test {
19 19
20 // Provides a quick way to populate a FormField with c-strings. 20 // Provides a quick way to populate a FormField with c-strings.
21 void CreateTestFormField(const char* label, 21 void CreateTestFormField(const char* label,
22 const char* name, 22 const char* name,
23 const char* value, 23 const char* value,
24 const char* type, 24 const char* type,
(...skipping 24 matching lines...) Expand all
49 const char* expiration_month, const char* expiration_year); 49 const char* expiration_month, const char* expiration_year);
50 50
51 // TODO(isherman): We should do this automatically for all tests, not manually 51 // TODO(isherman): We should do this automatically for all tests, not manually
52 // on a per-test basis: http://crbug.com/57221 52 // on a per-test basis: http://crbug.com/57221
53 // Disables or mocks out code that would otherwise reach out to system services. 53 // Disables or mocks out code that would otherwise reach out to system services.
54 void DisableSystemServices(Profile* profile); 54 void DisableSystemServices(Profile* profile);
55 55
56 } // namespace autofill_test 56 } // namespace autofill_test
57 57
58 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ 58 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/address_field.cc ('k') | chrome/browser/autofill/autofill_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698