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

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

Issue 2587023002: Upstream Chrome on iOS source code [8/11]. (Closed)
Patch Set: Created 4 years 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 2015 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 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLL ER_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLL ER_H_
7
8 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h"
9
10 namespace autofill {
11 struct PasswordForm;
12 } // namespace autofill
13 @protocol ReauthenticationProtocol;
14
15 @protocol PasswordDetailsCollectionViewControllerDelegate<NSObject>
16
17 - (void)deletePassword:(const autofill::PasswordForm&)passwordForm;
18
19 @end
20
21 @interface PasswordDetailsCollectionViewController
22 : SettingsRootCollectionViewController
23
24 // The designated initializer. |delegate| and |reauthenticaionModule| must not
25 // be nil.
26 - (instancetype)
27 initWithPasswordForm:(autofill::PasswordForm)passwordForm
28 delegate:
29 (id<PasswordDetailsCollectionViewControllerDelegate>)delegate
30 reauthenticationModule:(id<ReauthenticationProtocol>)reauthenticationModule
31 username:(NSString*)username
32 password:(NSString*)password
33 origin:(NSString*)origin NS_DESIGNATED_INITIALIZER;
34
35 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
36 NS_UNAVAILABLE;
37
38 @end
39
40 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTR OLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698