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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 2738073002: Revert of wire PasswordProtectionService into PasswordReuseDetectionManager (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // means that nothing was chosen. |one_local_credential| is true if there was 154 // means that nothing was chosen. |one_local_credential| is true if there was
155 // just one local credential to be chosen from. 155 // just one local credential to be chosen from.
156 void OnCredentialsChosen(const CredentialsCallback& callback, 156 void OnCredentialsChosen(const CredentialsCallback& callback,
157 bool one_local_credential, 157 bool one_local_credential,
158 const autofill::PasswordForm* form); 158 const autofill::PasswordForm* form);
159 159
160 // Returns true if this profile has metrics reporting and active sync 160 // Returns true if this profile has metrics reporting and active sync
161 // without custom sync passphrase. 161 // without custom sync passphrase.
162 static bool ShouldAnnotateNavigationEntries(Profile* profile); 162 static bool ShouldAnnotateNavigationEntries(Profile* profile);
163 163
164 #if defined(SAFE_BROWSING_DB_LOCAL) || defined(SAFE_BROWSING_DB_REMOTE)
165 // Return true if we can set PasswordProtectionService in
166 // |password_reuse_detection_manager_|.
167 static bool CanSetPasswordProtectionService();
168 #endif
169
170 Profile* const profile_; 164 Profile* const profile_;
171 165
172 password_manager::PasswordManager password_manager_; 166 password_manager::PasswordManager password_manager_;
173 167
174 password_manager::PasswordReuseDetectionManager 168 password_manager::PasswordReuseDetectionManager
175 password_reuse_detection_manager_; 169 password_reuse_detection_manager_;
176 170
177 password_manager::ContentPasswordManagerDriverFactory* driver_factory_; 171 password_manager::ContentPasswordManagerDriverFactory* driver_factory_;
178 172
179 // As a mojo service, will be registered into service registry 173 // As a mojo service, will be registered into service registry
(...skipping 20 matching lines...) Expand all
200 std::unique_ptr<password_manager::LogManager> log_manager_; 194 std::unique_ptr<password_manager::LogManager> log_manager_;
201 195
202 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 196 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
203 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 197 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
204 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 198 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
205 199
206 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 200 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
207 }; 201 };
208 202
209 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 203 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698