| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/password_manager/password_form_manager.h" | 5 #include "chrome/browser/password_manager/password_form_manager.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/string_split.h" | 10 #include "base/string_split.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "chrome/browser/password_manager/password_manager.h" | 12 #include "chrome/browser/password_manager/password_manager.h" |
| 13 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "webkit/glue/password_form_dom_manager.h" | 14 #include "webkit/glue/password_form_dom_manager.h" |
| 15 | 15 |
| 16 using base::Time; | 16 using base::Time; |
| 17 using webkit_glue::PasswordForm; | 17 using webkit_glue::PasswordForm; |
| 18 using webkit_glue::PasswordFormMap; | 18 using webkit_glue::PasswordFormMap; |
| 19 | 19 |
| 20 PasswordFormManager::PasswordFormManager(Profile* profile, | 20 PasswordFormManager::PasswordFormManager(Profile* profile, |
| 21 PasswordManager* password_manager, | 21 PasswordManager* password_manager, |
| 22 const PasswordForm& observed_form, | 22 const PasswordForm& observed_form, |
| 23 bool ssl_valid) | 23 bool ssl_valid) |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 return score; | 479 return score; |
| 480 } | 480 } |
| 481 | 481 |
| 482 void PasswordFormManager::SubmitPassed() { | 482 void PasswordFormManager::SubmitPassed() { |
| 483 submit_result_ = kSubmitResultPassed; | 483 submit_result_ = kSubmitResultPassed; |
| 484 } | 484 } |
| 485 | 485 |
| 486 void PasswordFormManager::SubmitFailed() { | 486 void PasswordFormManager::SubmitFailed() { |
| 487 submit_result_ = kSubmitResultFailed; | 487 submit_result_ = kSubmitResultFailed; |
| 488 } | 488 } |
| OLD | NEW |