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

Side by Side Diff: components/autofill/core/browser/payments/payments_service_url.h

Issue 1999923002: Move the Google Payments URL functions out of content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_URL_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_URL_H_
7
8 #include <stddef.h>
9
10 class GURL;
11
12 namespace autofill {
13 namespace payments {
14
15 // Returns true if production Payments URLs should be used or false if sandbox
16 // should be used.
17 bool IsPaymentsProductionEnabled();
18
19 // Returns the base URL to use for all Google Payments activity (RPCs and/or
20 // navigation).
21 GURL GetBaseSecureUrl();
22
23 // Returns the URL to navigate to in order to allow the user to edit or delete
24 // payment instruments (credit cards) or addresses, respectively. |user_index|
25 // is the index into the list of signed-in GAIA profiles for which this request
26 // is being made.
27 GURL GetManageInstrumentsUrl(size_t user_index);
28 GURL GetManageAddressesUrl(size_t user_index);
29
30 } // namespace payments
31 } // namespace autofill
32
33 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_URL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698