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

Side by Side Diff: ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.h

Issue 2813223002: [ObjC ARC] Converts ios/chrome/browser/ui/settings:settings to ARC. (Closed)
Patch Set: rebase 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_VIE W_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_VIE W_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_VIE W_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_VIE W_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/sync/sync_observer_bridge.h" 10 #import "ios/chrome/browser/sync/sync_observer_bridge.h"
(...skipping 17 matching lines...) Expand all
28 ItemTypeError, 28 ItemTypeError,
29 ItemTypeFooter, 29 ItemTypeFooter,
30 }; 30 };
31 } // namespace sync_encryption_passphrase 31 } // namespace sync_encryption_passphrase
32 } // namespace ios_internal 32 } // namespace ios_internal
33 33
34 // Controller to allow user to specify encryption passphrase for Sync. 34 // Controller to allow user to specify encryption passphrase for Sync.
35 @interface SyncEncryptionPassphraseCollectionViewController 35 @interface SyncEncryptionPassphraseCollectionViewController
36 : SettingsRootCollectionViewController<SyncObserverModelBridge> 36 : SettingsRootCollectionViewController<SyncObserverModelBridge>
37 37
38 @property(nonatomic, readonly) UITextField* passphrase; 38 @property(weak, nonatomic, readonly) UITextField* passphrase;
lpromero 2017/04/13 10:02:29 Idem, this should be strong.
stkhapugin 2017/04/13 14:48:31 Done.
39 @property(nonatomic, copy) NSString* headerMessage; 39 @property(nonatomic, copy) NSString* headerMessage;
40 @property(nonatomic, copy) NSString* footerMessage; 40 @property(nonatomic, copy) NSString* footerMessage;
41 @property(nonatomic, copy) NSString* processingMessage; 41 @property(nonatomic, copy) NSString* processingMessage;
42 @property(nonatomic, copy) NSString* syncErrorMessage; 42 @property(nonatomic, copy) NSString* syncErrorMessage;
43 43
44 // |browserState| must not be nil. 44 // |browserState| must not be nil.
45 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState 45 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState
46 NS_DESIGNATED_INITIALIZER; 46 NS_DESIGNATED_INITIALIZER;
47 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 47 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
48 NS_UNAVAILABLE; 48 NS_UNAVAILABLE;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Called after a touch event leaving a |UITextField| by clicking "return" key. 82 // Called after a touch event leaving a |UITextField| by clicking "return" key.
83 - (void)textFieldDidEndEditing:(id)sender; 83 - (void)textFieldDidEndEditing:(id)sender;
84 84
85 // Stops observing the sync service. This is required during the shutdown phase 85 // Stops observing the sync service. This is required during the shutdown phase
86 // to avoid observing sync events for a browser state that is being killed. 86 // to avoid observing sync events for a browser state that is being killed.
87 - (void)stopObserving; 87 - (void)stopObserving;
88 88
89 @end 89 @end
90 90
91 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_ VIEW_CONTROLLER_H_ 91 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SYNC_ENCRYPTION_PASSPHRASE_COLLECTION_ VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698