OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/password_manager/core/browser/password_autofill_manager.h" | 5 #include "components/password_manager/core/browser/password_autofill_manager.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/i18n/case_conversion.h" | 9 #include "base/i18n/case_conversion.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 bool PasswordAutofillManager::GetDeletionConfirmationText( | 251 bool PasswordAutofillManager::GetDeletionConfirmationText( |
252 const base::string16& value, | 252 const base::string16& value, |
253 int identifier, | 253 int identifier, |
254 base::string16* title, | 254 base::string16* title, |
255 base::string16* body) { | 255 base::string16* body) { |
256 return false; | 256 return false; |
257 } | 257 } |
258 | 258 |
259 bool PasswordAutofillManager::RemoveSuggestion(const base::string16& value, | 259 bool PasswordAutofillManager::RemoveSuggestion(const base::string16& value, |
260 int identifier) { | 260 int identifier) { |
261 // http://crbug.com/329038 | 261 // Password suggestions cannot be deleted this way. |
262 NOTIMPLEMENTED(); | 262 // See http://crbug.com/329038#c15 |
263 return false; | 263 return false; |
264 } | 264 } |
265 | 265 |
266 void PasswordAutofillManager::ClearPreviewedForm() { | 266 void PasswordAutofillManager::ClearPreviewedForm() { |
267 password_manager_driver_->ClearPreviewedForm(); | 267 password_manager_driver_->ClearPreviewedForm(); |
268 } | 268 } |
269 | 269 |
270 //////////////////////////////////////////////////////////////////////////////// | 270 //////////////////////////////////////////////////////////////////////////////// |
271 // PasswordAutofillManager, private: | 271 // PasswordAutofillManager, private: |
272 | 272 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 autofill::PasswordFormFillData* found_password) { | 318 autofill::PasswordFormFillData* found_password) { |
319 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(key); | 319 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(key); |
320 if (iter == login_to_password_info_.end()) | 320 if (iter == login_to_password_info_.end()) |
321 return false; | 321 return false; |
322 | 322 |
323 *found_password = iter->second; | 323 *found_password = iter->second; |
324 return true; | 324 return true; |
325 } | 325 } |
326 | 326 |
327 } // namespace password_manager | 327 } // namespace password_manager |
OLD | NEW |