Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: webkit/glue/password_form_dom_manager.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/glue/password_form.h ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « webkit/glue/password_form.h ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698