OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util.h" |
10 #include "base/threading/platform_thread.h" | 10 #include "base/threading/platform_thread.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/password_manager/password_form_manager.h" | 12 #include "chrome/browser/password_manager/password_form_manager.h" |
13 #include "chrome/browser/password_manager/password_manager_delegate.h" | 13 #include "chrome/browser/password_manager/password_manager_delegate.h" |
14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/common/autofill_messages.h" | 16 #include "chrome/common/autofill_messages.h" |
17 #include "chrome/common/pref_names.h" | 17 #include "chrome/common/pref_names.h" |
18 #include "content/browser/user_metrics.h" | 18 #include "content/browser/user_metrics.h" |
19 #include "content/common/view_messages.h" | 19 #include "content/common/view_messages.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 return; | 235 return; |
236 } | 236 } |
237 default: | 237 default: |
238 if (observer_) { | 238 if (observer_) { |
239 observer_->OnAutofillDataAvailable( | 239 observer_->OnAutofillDataAvailable( |
240 UTF16ToWideHack(preferred_match->username_value), | 240 UTF16ToWideHack(preferred_match->username_value), |
241 UTF16ToWideHack(preferred_match->password_value)); | 241 UTF16ToWideHack(preferred_match->password_value)); |
242 } | 242 } |
243 } | 243 } |
244 } | 244 } |
OLD | NEW |