| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| 7 | 7 |
| 8 #include "components/autofill/common/autofill_export.h" |
| 9 |
| 8 class GURL; | 10 class GURL; |
| 9 | 11 |
| 10 namespace autofill { | 12 namespace autofill { |
| 11 namespace wallet { | 13 namespace wallet { |
| 12 | 14 |
| 13 GURL GetGetWalletItemsUrl(); | 15 GURL GetGetWalletItemsUrl(); |
| 14 GURL GetGetFullWalletUrl(); | 16 GURL GetGetFullWalletUrl(); |
| 15 GURL GetAcceptLegalDocumentsUrl(); | 17 GURL GetAcceptLegalDocumentsUrl(); |
| 16 GURL GetAuthenticateInstrumentUrl(); | 18 GURL GetAuthenticateInstrumentUrl(); |
| 17 GURL GetEncryptionUrl(); | 19 GURL GetEncryptionUrl(); |
| 18 GURL GetEscrowUrl(); | 20 GURL GetEscrowUrl(); |
| 19 GURL GetSendStatusUrl(); | 21 GURL GetSendStatusUrl(); |
| 20 GURL GetSaveToWalletUrl(); | 22 GURL GetSaveToWalletUrl(); |
| 21 GURL GetPassiveAuthUrl(); | 23 GURL GetPassiveAuthUrl(); |
| 22 | 24 |
| 23 // URL to visit for presenting the user with a sign-in dialog. | 25 // URL to visit for presenting the user with a sign-in dialog. |
| 24 GURL GetSignInUrl(); | 26 AUTOFILL_EXPORT GURL GetSignInUrl(); |
| 25 | 27 |
| 26 // The the URL to use as a continue parameter in the sign-in URL. | 28 // The the URL to use as a continue parameter in the sign-in URL. |
| 27 // A redirect to this URL will occur once sign-in is complete. | 29 // A redirect to this URL will occur once sign-in is complete. |
| 28 GURL GetSignInContinueUrl(); | 30 GURL GetSignInContinueUrl(); |
| 29 | 31 |
| 30 // Returns true if |url| is an acceptable variant of the sign-in continue | 32 // Returns true if |url| is an acceptable variant of the sign-in continue |
| 31 // url. Can be used for detection of navigation to the continue url. | 33 // url. Can be used for detection of navigation to the continue url. |
| 32 bool IsSignInContinueUrl(const GURL& url); | 34 AUTOFILL_EXPORT bool IsSignInContinueUrl(const GURL& url); |
| 33 | 35 |
| 34 } // namespace wallet | 36 } // namespace wallet |
| 35 } // namespace autofill | 37 } // namespace autofill |
| 36 | 38 |
| 37 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_SERVICE_URL_H_ | 39 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_SERVICE_URL_H_ |
| OLD | NEW |