| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_manager.h" | 5 #include "chrome/browser/password_manager/password_manager.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
| 14 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 15 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| 15 #include "chrome/browser/password_manager/password_form_manager.h" | 16 #include "chrome/browser/password_manager/password_form_manager.h" |
| 16 #include "chrome/browser/password_manager/password_manager_delegate.h" | 17 #include "chrome/browser/password_manager/password_manager_delegate.h" |
| 17 #include "chrome/browser/password_manager/password_manager_metrics_util.h" | 18 #include "chrome/browser/password_manager/password_manager_metrics_util.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/common/chrome_switches.h" | 20 #include "chrome/common/chrome_switches.h" |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 return; | 418 return; |
| 418 } | 419 } |
| 419 default: | 420 default: |
| 420 FOR_EACH_OBSERVER( | 421 FOR_EACH_OBSERVER( |
| 421 LoginModelObserver, | 422 LoginModelObserver, |
| 422 observers_, | 423 observers_, |
| 423 OnAutofillDataAvailable(preferred_match.username_value, | 424 OnAutofillDataAvailable(preferred_match.username_value, |
| 424 preferred_match.password_value)); | 425 preferred_match.password_value)); |
| 425 } | 426 } |
| 426 } | 427 } |
| OLD | NEW |