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

Side by Side Diff: ios/chrome/browser/payments/payment_request_manager.h

Issue 2652043006: Fix typos in comments "reciever" -> "receiver". (Closed)
Patch Set: Rebase. Created 3 years, 10 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_ 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_
6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_ 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 namespace ios { 10 namespace ios {
(...skipping 19 matching lines...) Expand all
30 30
31 // Designated initializer. 31 // Designated initializer.
32 - (instancetype)initWithBaseViewController:(UIViewController*)viewController 32 - (instancetype)initWithBaseViewController:(UIViewController*)viewController
33 browserState: 33 browserState:
34 (ios::ChromeBrowserState*)browserState 34 (ios::ChromeBrowserState*)browserState
35 NS_DESIGNATED_INITIALIZER; 35 NS_DESIGNATED_INITIALIZER;
36 36
37 - (instancetype)init NS_UNAVAILABLE; 37 - (instancetype)init NS_UNAVAILABLE;
38 38
39 // Sets the WebState to be observed for invocations of the Payment Request API. 39 // Sets the WebState to be observed for invocations of the Payment Request API.
40 // |webState|'s lifetime should be greater than the reciever's. |webState| can 40 // |webState|'s lifetime should be greater than the receiver's. |webState| can
41 // be nil. 41 // be nil.
42 - (void)setWebState:(web::WebState*)webState; 42 - (void)setWebState:(web::WebState*)webState;
43 43
44 // Enables or disables the Payment Request API for the current webState. If 44 // Enables or disables the Payment Request API for the current webState. If
45 // |enabled| is YES, the API may still not be enabled if the flag is not set; 45 // |enabled| is YES, the API may still not be enabled if the flag is not set;
46 // the -enabled property will indicate the current status. This method functions 46 // the -enabled property will indicate the current status. This method functions
47 // asynchronously. 47 // asynchronously.
48 - (void)enablePaymentRequest:(BOOL)enabled; 48 - (void)enablePaymentRequest:(BOOL)enabled;
49 49
50 // Cancels the pending request and dismiss the UI. 50 // Cancels the pending request and dismiss the UI.
51 - (void)cancelRequest; 51 - (void)cancelRequest;
52 52
53 // Destroys the receiver. Any following call is not supported. 53 // Destroys the receiver. Any following call is not supported.
54 - (void)close; 54 - (void)close;
55 55
56 @end 56 @end
57 57
58 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_ 58 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_MANAGER_H_
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/log_router_unittest.cc ('k') | ios/chrome/browser/sessions/session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698