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

Unified Diff: ios/chrome/browser/passwords/password_controller.h

Issue 1941363002: PasswordController should give up on WebState destruction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: isBeingDestroyed Created 4 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/passwords/password_controller.h
diff --git a/ios/chrome/browser/passwords/password_controller.h b/ios/chrome/browser/passwords/password_controller.h
index e98a09a6d17317a9fd6d08ad326af356d7a107b2..4a4de357f57a12a9ac24997ed402dcf835899aa6 100644
--- a/ios/chrome/browser/passwords/password_controller.h
+++ b/ios/chrome/browser/passwords/password_controller.h
@@ -48,6 +48,9 @@ class PasswordManagerDriver;
@property(readonly)
password_manager::PasswordManagerDriver* passwordManagerDriver;
+// This is set to YES as soon as the associated WebState is destroyed.
+@property(readonly) BOOL isBeingDestroyed;
Eugene But (OOO till 7-30) 2016/05/03 17:49:49 Does this need to be public?
vabr (Chromium) 2016/05/04 15:03:46 No, good point. I moved it to the .mm file.
+
// |webState| should not be nil.
- (instancetype)initWithWebState:(web::WebState*)webState
passwordsUiDelegate:(id<PasswordsUiDelegate>)UIDelegate;

Powered by Google App Engine
This is Rietveld 408576698