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

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

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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 9
10 class PrefService; 10 class PrefService;
11 11
12 namespace content { 12 namespace content {
13 class BrowserContext; 13 class BrowserContext;
14 } 14 }
15 15
16 namespace autofill { 16 namespace autofill {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const char* expiration_month, const char* expiration_year); 91 const char* expiration_month, const char* expiration_year);
92 92
93 // TODO(isherman): We should do this automatically for all tests, not manually 93 // TODO(isherman): We should do this automatically for all tests, not manually
94 // on a per-test basis: http://crbug.com/57221 94 // on a per-test basis: http://crbug.com/57221
95 // Disables or mocks out code that would otherwise reach out to system services. 95 // Disables or mocks out code that would otherwise reach out to system services.
96 void DisableSystemServices(content::BrowserContext* browser_context); 96 void DisableSystemServices(content::BrowserContext* browser_context);
97 97
98 } // namespace test 98 } // namespace test
99 } // namespace autofill 99 } // namespace autofill
100 100
101 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ 101 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_profile_unittest.cc ('k') | components/autofill/core/browser/autofill_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698