| Index: components/password_manager/core/browser/password_manager_client.h
|
| diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
|
| index 9f97259b3517d5f26cf781092079e331bb7f1b1e..085ade883d105a432e3fbbd5e473e58d97715ee1 100644
|
| --- a/components/password_manager/core/browser/password_manager_client.h
|
| +++ b/components/password_manager/core/browser/password_manager_client.h
|
| @@ -16,6 +16,7 @@ namespace password_manager {
|
|
|
| struct CredentialInfo;
|
| class PasswordFormManager;
|
| +class PasswordManager;
|
| class PasswordManagerDriver;
|
| class PasswordStore;
|
|
|
| @@ -109,9 +110,6 @@ class PasswordManagerClient {
|
| // Returns the PasswordStore associated with this instance.
|
| virtual PasswordStore* GetPasswordStore() = 0;
|
|
|
| - // Returns the PasswordManagerDriver instance associated with this instance.
|
| - virtual PasswordManagerDriver* GetDriver() = 0;
|
| -
|
| // Returns the probability that the experiment identified by |experiment_name|
|
| // should be enabled. The default implementation returns 0.
|
| virtual base::FieldTrial::Probability GetProbabilityForExperiment(
|
| @@ -143,6 +141,16 @@ class PasswordManagerClient {
|
| virtual PasswordStore::AuthorizationPromptPolicy GetAuthorizationPromptPolicy(
|
| const autofill::PasswordForm& form);
|
|
|
| + // Returns whether any SSL certificate errors were encountered as a result of
|
| + // the last page load.
|
| + virtual bool DidLastPageLoadEncounterSSLErrors();
|
| +
|
| + // If this browsing session should not be persisted.
|
| + virtual bool IsOffTheRecord();
|
| +
|
| + // Returns the PasswordManager associated with this client.
|
| + virtual PasswordManager* GetPasswordManager();
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
|
| };
|
|
|