| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "chrome/app/theme/theme_resources.h" | 8 #include "grit/theme_resources.h" |
| 9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
| 10 #include "chrome/browser/tab_contents/web_contents.h" | 10 #include "chrome/browser/tab_contents/web_contents.h" |
| 11 #include "chrome/common/l10n_util.h" | 11 #include "chrome/common/l10n_util.h" |
| 12 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 13 #include "chrome/common/notification_service.h" | 13 #include "chrome/common/notification_service.h" |
| 14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| 15 #include "chrome/common/pref_service.h" | 15 #include "chrome/common/pref_service.h" |
| 16 #include "chrome/common/resource_bundle.h" | 16 #include "chrome/common/resource_bundle.h" |
| 17 #include "chrome/common/stl_util-inl.h" | 17 #include "chrome/common/stl_util-inl.h" |
| 18 | 18 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 web_contents_->render_view_host()->FillPasswordForm(*fill_data); | 235 web_contents_->render_view_host()->FillPasswordForm(*fill_data); |
| 236 return; | 236 return; |
| 237 } | 237 } |
| 238 default: | 238 default: |
| 239 if (observer_) | 239 if (observer_) |
| 240 observer_->OnAutofillDataAvailable(preferred_match->username_value, | 240 observer_->OnAutofillDataAvailable(preferred_match->username_value, |
| 241 preferred_match->password_value); | 241 preferred_match->password_value); |
| 242 } | 242 } |
| 243 } | 243 } |
| 244 | 244 |
| OLD | NEW |