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

Unified Diff: chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h

Issue 1645503002: Remove dangling ManagePasswordsBubbleModel pointers. Test that different password bubbles don't pin… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h
diff --git a/chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h b/chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h
index 12931847b547a5a6ba91d554fadc1168cbd23cea..41f1b967de3b15c84e1d5a544eaf87a66e3acb9c 100644
--- a/chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h
+++ b/chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h
@@ -13,23 +13,19 @@
@class AccountAvatarFetcherManager;
@class CredentialItemView;
-class ManagePasswordsBubbleModel;
namespace base {
class Timer;
} // namespace base
// Manages the view that informs the user they're being automatically signed in.
-@interface ManagePasswordsBubbleAutoSigninViewController
- : ManagePasswordsBubbleContentViewController {
+@interface AutoSigninViewController : BasePasswordsContentViewController {
@private
- ManagePasswordsBubbleModel* model_; // weak
base::scoped_nsobject<CredentialItemView> credentialView_;
base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_;
scoped_ptr<base::Timer> timer_;
}
-- (id)initWithModel:(ManagePasswordsBubbleModel*)model
- delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate;
+- (instancetype)initWithDelegate:(id<BasePasswordsContentViewDelegate>)delegate;
@end
#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698