| 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 8edd18b07693af37246a5396a2b25f5f1921403c..92dad1f39122833f3a8659e106b93a650d9b3b88 100644
|
| --- a/components/password_manager/core/browser/password_manager_client.h
|
| +++ b/components/password_manager/core/browser/password_manager_client.h
|
| @@ -21,6 +21,12 @@ class AutofillManager;
|
|
|
| class GURL;
|
|
|
| +#if defined(SAFE_BROWSING_DB_LOCAL)
|
| +namespace safe_browsing {
|
| +class PasswordProtectionService;
|
| +}
|
| +#endif
|
| +
|
| namespace password_manager {
|
|
|
| class LogManager;
|
| @@ -192,6 +198,12 @@ class PasswordManagerClient {
|
| // Record that we saw a password field on this page.
|
| virtual void AnnotateNavigationEntry(bool has_password_field);
|
|
|
| +#if defined(SAFE_BROWSING_DB_LOCAL)
|
| + // Return the PasswordProtectionService associated with this instance.
|
| + virtual safe_browsing::PasswordProtectionService*
|
| + GetPasswordProtectionService() const = 0;
|
| +#endif
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
|
| };
|
|
|