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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 2783773002: Link PasswordProtectionService to Profile and SB Service (Closed)
Patch Set: refine histogram description Created 3 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/chrome_password_manager_client.h
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.h b/chrome/browser/password_manager/chrome_password_manager_client.h
index d2e6f097f926ffa6cbc8f7fb5c2e77b5075a0317..5747e99e31becfdb01905d7d7decdbf5c0e20f2b 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.h
+++ b/chrome/browser/password_manager/chrome_password_manager_client.h
@@ -104,6 +104,11 @@ class ChromePasswordManagerClient
void GenerationAvailableForForm(const autofill::PasswordForm& form) override;
void HidePasswordGenerationPopup() override;
+#if defined(SAFE_BROWSING_DB_LOCAL)
+ safe_browsing::PasswordProtectionService* GetPasswordProtectionService()
+ const override;
+#endif
+
static void CreateForWebContentsWithAutofillClient(
content::WebContents* contents,
autofill::AutofillClient* autofill_client);
@@ -164,12 +169,6 @@ class ChromePasswordManagerClient
// without custom sync passphrase.
static bool ShouldAnnotateNavigationEntries(Profile* profile);
-#if defined(SAFE_BROWSING_DB_LOCAL) || defined(SAFE_BROWSING_DB_REMOTE)
- // Return true if we can set PasswordProtectionService in
- // |password_reuse_detection_manager_|.
- static bool CanSetPasswordProtectionService();
-#endif
-
Profile* const profile_;
password_manager::PasswordManager password_manager_;
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698