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/content/browser/wallet/wallet_service_url.h

Issue 17970003: New encryption/escrow endpoints for Wallet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing again... Created 7 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 | 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_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();
20 GURL GetSaveToWalletNoEscrowUrl();
22 GURL GetSaveToWalletUrl(); 21 GURL GetSaveToWalletUrl();
23 GURL GetPassiveAuthUrl(); 22 GURL GetPassiveAuthUrl();
24 23
25 // URL to visit for presenting the user with a sign-in dialog. 24 // URL to visit for presenting the user with a sign-in dialog.
26 GURL GetSignInUrl(); 25 GURL GetSignInUrl();
27 26
28 // The the URL to use as a continue parameter in the sign-in URL. 27 // 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. 28 // A redirect to this URL will occur once sign-in is complete.
30 GURL GetSignInContinueUrl(); 29 GURL GetSignInContinueUrl();
31 30
32 // Returns true if |url| is an acceptable variant of the sign-in continue 31 // 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. 32 // url. Can be used for detection of navigation to the continue url.
34 bool IsSignInContinueUrl(const GURL& url); 33 bool IsSignInContinueUrl(const GURL& url);
35 34
36 // Whether calls to Online Wallet are hitting the production server rather than 35 // Whether calls to Online Wallet are hitting the production server rather than
37 // a sandbox or some malicious endpoint. 36 // a sandbox or some malicious endpoint.
38 bool IsUsingProd(); 37 bool IsUsingProd();
39 38
40 } // namespace wallet 39 } // namespace wallet
41 } // namespace autofill 40 } // namespace autofill
42 41
43 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_ 42 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698