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

Side by Side Diff: ios/chrome/browser/passwords/password_controller.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_ 4 #ifndef IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_
5 #define IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_ 5 #define IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_
6 6
7 #import <Foundation/NSObject.h> 7 #import <Foundation/NSObject.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #import "ios/chrome/browser/autofill/form_suggestion_provider.h" 11 #import "ios/chrome/browser/autofill/form_suggestion_provider.h"
12 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_client.h" 12 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_client.h"
13 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_driver.h" 13 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_driver.h"
14 #import "ios/web/public/web_state/web_state_observer_bridge.h" 14 #import "ios/web/public/web_state/web_state_observer_bridge.h"
15 15
16 @protocol FormInputAccessoryViewProvider; 16 @protocol FormInputAccessoryViewProvider;
17 @protocol PasswordsUiDelegate; 17 @protocol PasswordsUiDelegate;
18 @class PasswordGenerationAgent; 18 @class PasswordGenerationAgent;
19 19
20 namespace password_manager { 20 namespace password_manager {
21 class PasswordGenerationManager; 21 class PasswordGenerationManager;
22 class PasswordManager;
23 class PasswordManagerClient; 22 class PasswordManagerClient;
24 class PasswordManagerDriver; 23 class PasswordManagerDriver;
25 } // namespace password_manager 24 } // namespace password_manager
26 25
27 // Per-tab password controller. Handles password autofill and saving. 26 // Per-tab password controller. Handles password autofill and saving.
28 @interface PasswordController : NSObject<CRWWebStateObserver, 27 @interface PasswordController : NSObject<CRWWebStateObserver,
29 PasswordManagerClientDelegate, 28 PasswordManagerClientDelegate,
30 PasswordManagerDriverDelegate> 29 PasswordManagerDriverDelegate>
31 30
32 // An object that can provide suggestions from this PasswordController. 31 // An object that can provide suggestions from this PasswordController.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Uses JavaScript to find password forms using the |webState_| and fills 67 // Uses JavaScript to find password forms using the |webState_| and fills
69 // them with the |username| and |password|. |completionHandler|, if not nil, 68 // them with the |username| and |password|. |completionHandler|, if not nil,
70 // is called once per form filled. 69 // is called once per form filled.
71 - (void)findAndFillPasswordForms:(NSString*)username 70 - (void)findAndFillPasswordForms:(NSString*)username
72 password:(NSString*)password 71 password:(NSString*)password
73 completionHandler:(void (^)(BOOL))completionHandler; 72 completionHandler:(void (^)(BOOL))completionHandler;
74 73
75 @end 74 @end
76 75
77 #endif // IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_ 76 #endif // IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/passwords/js_credential_manager.h ('k') | ios/chrome/browser/passwords/password_generation_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698