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

Side by Side Diff: chrome/browser/password_manager/password_store_win.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_store_win.h" 5 #include "chrome/browser/password_manager/password_store_win.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/password_manager/ie7_password.h" 10 #include "chrome/browser/password_manager/ie7_password.h"
10 #include "chrome/browser/password_manager/password_manager.h" 11 #include "chrome/browser/password_manager/password_manager.h"
11 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
12 13
13 using std::map; 14 using std::map;
14 using std::vector; 15 using std::vector;
15 using webkit_glue::PasswordForm; 16 using webkit_glue::PasswordForm;
16 17
17 PasswordStoreWin::PasswordStoreWin(LoginDatabase* login_database, 18 PasswordStoreWin::PasswordStoreWin(LoginDatabase* login_database,
18 Profile* profile, 19 Profile* profile,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 auto_fill->password_value = password; 124 auto_fill->password_value = password;
124 auto_fill->preferred = true; 125 auto_fill->preferred = true;
125 auto_fill->ssl_valid = form.origin.SchemeIsSecure(); 126 auto_fill->ssl_valid = form.origin.SchemeIsSecure();
126 auto_fill->date_created = info.date_created; 127 auto_fill->date_created = info.date_created;
127 // Add this PasswordForm to the saved password table. 128 // Add this PasswordForm to the saved password table.
128 AddLogin(*auto_fill); 129 AddLogin(*auto_fill);
129 return auto_fill; 130 return auto_fill;
130 } 131 }
131 return NULL; 132 return NULL;
132 } 133 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager_unittest.cc ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698