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

Side by Side Diff: ios/chrome/browser/payments/payment_request_picker_row.mm

Issue 2778343002: [Payment Request] Picker view + showcase integration + egtests (Closed)
Patch Set: Addressed comments Created 3 years, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/chrome/browser/payments/payment_request_picker_row.h"
6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
11 @implementation PickerRow
12
13 @synthesize label = _label;
14 @synthesize value = _value;
15
16 - (instancetype)initWithLabel:(NSString*)label value:(NSString*)value {
17 self = [super init];
18 if (self) {
19 _label = label;
20 _value = value;
21 }
22 return self;
23 }
24
25 - (NSString*)description {
26 return [NSString stringWithFormat:@"Label: %@, Value: %@", _label, _value];
27 }
28
29 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698