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

Side by Side Diff: ios/chrome/browser/ui/settings/settings_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_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_
7 7
8 #import "ios/chrome/browser/ui/settings/settings_navigation_controller.h" 8 #import "ios/chrome/browser/ui/settings/settings_navigation_controller.h"
9 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h" 9 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 // The accessibility identifier of the Voice Search cell. 28 // The accessibility identifier of the Voice Search cell.
29 extern NSString* const kSettingsVoiceSearchCellId; 29 extern NSString* const kSettingsVoiceSearchCellId;
30 30
31 // This class is the collection view for the application settings. 31 // This class is the collection view for the application settings.
32 @interface SettingsCollectionViewController 32 @interface SettingsCollectionViewController
33 : SettingsRootCollectionViewController<SettingsControllerProtocol> 33 : SettingsRootCollectionViewController<SettingsControllerProtocol>
34 34
35 // The controller used to signin on this screen. Returns nil unless a signin is 35 // The controller used to signin on this screen. Returns nil unless a signin is
36 // currently occuring. 36 // currently occuring.
37 @property(nonatomic, readonly) 37 @property(weak, nonatomic, readonly)
lpromero 2017/04/13 10:02:29 Internally, it's a strong reference. I think it wa
stkhapugin 2017/04/13 14:48:31 Done.
38 SigninInteractionController* signinInteractionController; 38 SigninInteractionController* signinInteractionController;
39 39
40 // Initializes a new SettingsCollectionViewController. |mainBrowserState|, 40 // Initializes a new SettingsCollectionViewController. |mainBrowserState|,
41 // |currentBrowserState| and |dataSource| must not be nil. 41 // |currentBrowserState| and |dataSource| must not be nil.
42 // If |currentBrowserState| is not off the record, then it must be equal to 42 // If |currentBrowserState| is not off the record, then it must be equal to
43 // |mainBrowserState|. 43 // |mainBrowserState|.
44 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)mainBrowserState 44 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)mainBrowserState
45 currentBrowserState: 45 currentBrowserState:
46 (ios::ChromeBrowserState*)currentBrowserState 46 (ios::ChromeBrowserState*)currentBrowserState
47 NS_DESIGNATED_INITIALIZER; 47 NS_DESIGNATED_INITIALIZER;
48 48
49 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 49 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
50 NS_UNAVAILABLE; 50 NS_UNAVAILABLE;
51 51
52 - (instancetype)init NS_UNAVAILABLE; 52 - (instancetype)init NS_UNAVAILABLE;
53 53
54 @end 54 @end
55 55
56 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_ 56 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COLLECTION_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698