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

Side by Side Diff: components/payments/core/payments_test_util.h

Issue 2970013003: [Payment Request] Displays appropriate footer if first transaction completed (Closed)
Patch Set: Addressed comments + rebase Created 3 years, 5 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
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/payments_test_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PAYMENTS_CORE_PAYMENTS_TEST_UTIL_H_
6 #define COMPONENTS_PAYMENTS_CORE_PAYMENTS_TEST_UTIL_H_
7
8 #include <memory>
9
10 class PrefService;
11
12 namespace payments {
13
14 // Common utilities shared amongst Payments tests.
15 namespace test {
16
17 // Return a PrefService that can be used for Payments-related testing in
18 // contexts where the PrefService would otherwise have to be constructed
19 // manually (e.g., in unit tests within Autofill core code). The returned
20 // PrefService has had Autofill preferences registered on its associated
21 // registry.
22 std::unique_ptr<PrefService> PrefServiceForTesting();
23
24 } // namespace test
25 } // namespace payments
26
27 #endif // COMPONENTS_PAYMENTS_CORE_PAYMENTS_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/payments_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698