| OLD | NEW |
| 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_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| 7 | 7 |
| 8 class GURL; | 8 class GURL; |
| 9 | 9 |
| 10 namespace autofill { | 10 namespace autofill { |
| 11 namespace wallet { | 11 namespace wallet { |
| 12 | 12 |
| 13 GURL GetGetWalletItemsUrl(); | 13 GURL GetGetWalletItemsUrl(); |
| 14 GURL GetGetFullWalletUrl(); | 14 GURL GetGetFullWalletUrl(); |
| 15 GURL GetManageInstrumentsUrl(); | 15 GURL GetManageInstrumentsUrl(); |
| 16 GURL GetManageAddressesUrl(); | 16 GURL GetManageAddressesUrl(); |
| 17 GURL GetAcceptLegalDocumentsUrl(); | 17 GURL GetAcceptLegalDocumentsUrl(); |
| 18 GURL GetAuthenticateInstrumentUrl(); | 18 GURL GetAuthenticateInstrumentUrl(); |
| 19 GURL GetEncryptionUrl(); | |
| 20 GURL GetEscrowUrl(); | |
| 21 GURL GetSendStatusUrl(); | 19 GURL GetSendStatusUrl(); |
| 22 GURL GetSaveToWalletUrl(); | 20 GURL GetSaveToWalletUrl(); |
| 23 GURL GetPassiveAuthUrl(); | 21 GURL GetPassiveAuthUrl(); |
| 24 | 22 |
| 25 // URL to visit for presenting the user with a sign-in dialog. | 23 // URL to visit for presenting the user with a sign-in dialog. |
| 26 GURL GetSignInUrl(); | 24 GURL GetSignInUrl(); |
| 27 | 25 |
| 28 // The the URL to use as a continue parameter in the sign-in URL. | 26 // The the URL to use as a continue parameter in the sign-in URL. |
| 29 // A redirect to this URL will occur once sign-in is complete. | 27 // A redirect to this URL will occur once sign-in is complete. |
| 30 GURL GetSignInContinueUrl(); | 28 GURL GetSignInContinueUrl(); |
| 31 | 29 |
| 32 // Returns true if |url| is an acceptable variant of the sign-in continue | 30 // Returns true if |url| is an acceptable variant of the sign-in continue |
| 33 // url. Can be used for detection of navigation to the continue url. | 31 // url. Can be used for detection of navigation to the continue url. |
| 34 bool IsSignInContinueUrl(const GURL& url); | 32 bool IsSignInContinueUrl(const GURL& url); |
| 35 | 33 |
| 36 // Whether calls to Online Wallet are hitting the production server rather than | 34 // Whether calls to Online Wallet are hitting the production server rather than |
| 37 // a sandbox or some malicious endpoint. | 35 // a sandbox or some malicious endpoint. |
| 38 bool IsUsingProd(); | 36 bool IsUsingProd(); |
| 39 | 37 |
| 40 } // namespace wallet | 38 } // namespace wallet |
| 41 } // namespace autofill | 39 } // namespace autofill |
| 42 | 40 |
| 43 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 41 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| OLD | NEW |