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

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

Issue 2710493006: [ObjC ARC] Converts ios/chrome/browser/payments:payments to ARC. (Closed)
Patch Set: rebase? Created 3 years, 9 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_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLER_H _ 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLER_H _
6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLER_H _ 6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLER_H _
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include "ios/chrome/browser/payments/payment_request.h" 10 #include "ios/chrome/browser/payments/payment_request.h"
(...skipping 24 matching lines...) Expand all
35 35
36 // View controller responsible for presenting the available shipping addresses 36 // View controller responsible for presenting the available shipping addresses
37 // for selection by the user and communicating their choice to the supplied 37 // for selection by the user and communicating their choice to the supplied
38 // delegate. Also offers a button to add a shipping address. 38 // delegate. Also offers a button to add a shipping address.
39 @interface ShippingAddressSelectionViewController : CollectionViewController 39 @interface ShippingAddressSelectionViewController : CollectionViewController
40 40
41 // Whether or not the view is in a loading state. 41 // Whether or not the view is in a loading state.
42 @property(nonatomic, assign) BOOL isLoading; 42 @property(nonatomic, assign) BOOL isLoading;
43 43
44 // The error message to display, if any. 44 // The error message to display, if any.
45 @property(nonatomic, assign) NSString* errorMessage; 45 @property(nonatomic, copy) NSString* errorMessage;
46 46
47 // The delegate to be notified when the user selects a shipping address or 47 // The delegate to be notified when the user selects a shipping address or
48 // returns without selecting one. 48 // returns without selecting one.
49 @property(nonatomic, weak) id<ShippingAddressSelectionViewControllerDelegate> 49 @property(nonatomic, weak) id<ShippingAddressSelectionViewControllerDelegate>
50 delegate; 50 delegate;
51 51
52 // Initializes this object with an instance of PaymentRequest which owns an 52 // Initializes this object with an instance of PaymentRequest which owns an
53 // instance of web::PaymentRequest as provided by the page invoking the Payment 53 // instance of web::PaymentRequest as provided by the page invoking the Payment
54 // Request API. This object will not take ownership of |paymentRequest|. 54 // Request API. This object will not take ownership of |paymentRequest|.
55 - (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest 55 - (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest
56 NS_DESIGNATED_INITIALIZER; 56 NS_DESIGNATED_INITIALIZER;
57 57
58 - (instancetype)init NS_UNAVAILABLE; 58 - (instancetype)init NS_UNAVAILABLE;
59 59
60 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 60 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
61 NS_UNAVAILABLE; 61 NS_UNAVAILABLE;
62 62
63 @end 63 @end
64 64
65 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLE R_H_ 65 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_ADDRESS_SELECTION_VIEW_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698