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 | 5 |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "webkit/api/public/WebPasswordFormData.h" | 7 #include "third_party/WebKit/WebKit/chromium/public/WebPasswordFormData.h" |
8 #include "webkit/glue/glue_util.h" | 8 #include "webkit/glue/glue_util.h" |
9 #include "webkit/glue/password_form_dom_manager.h" | 9 #include "webkit/glue/password_form_dom_manager.h" |
10 | 10 |
11 using WebKit::WebFormElement; | 11 using WebKit::WebFormElement; |
12 using WebKit::WebPasswordFormData; | 12 using WebKit::WebPasswordFormData; |
13 | 13 |
14 namespace webkit_glue { | 14 namespace webkit_glue { |
15 | 15 |
16 PasswordForm* PasswordFormDomManager::CreatePasswordForm( | 16 PasswordForm* PasswordFormDomManager::CreatePasswordForm( |
17 const WebFormElement& webform) | 17 const WebFormElement& webform) |
(...skipping 24 matching lines...) Expand all Loading... |
42 | 42 |
43 // Copy additional username/value pairs. | 43 // Copy additional username/value pairs. |
44 PasswordFormMap::const_iterator iter; | 44 PasswordFormMap::const_iterator iter; |
45 for (iter = matches.begin(); iter != matches.end(); iter++) { | 45 for (iter = matches.begin(); iter != matches.end(); iter++) { |
46 if (iter->second != preferred_match) | 46 if (iter->second != preferred_match) |
47 result->additional_logins[iter->first] = iter->second->password_value; | 47 result->additional_logins[iter->first] = iter->second->password_value; |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 } // namespace webkit_glue | 51 } // namespace webkit_glue |
OLD | NEW |