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

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

Issue 8413022: wstring cleanup in browser/ui/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/login/login_model.h » ('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) 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.h" 9 #include "base/stl_util.h"
10 #include "base/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 webkit_glue::PasswordFormDomManager::InitFillData(form_for_autofill, 229 webkit_glue::PasswordFormDomManager::InitFillData(form_for_autofill,
230 best_matches, 230 best_matches,
231 preferred_match, 231 preferred_match,
232 wait_for_username, 232 wait_for_username,
233 &fill_data); 233 &fill_data);
234 delegate_->FillPasswordForm(fill_data); 234 delegate_->FillPasswordForm(fill_data);
235 return; 235 return;
236 } 236 }
237 default: 237 default:
238 if (observer_) { 238 if (observer_) {
239 observer_->OnAutofillDataAvailable( 239 observer_->OnAutofillDataAvailable(preferred_match->username_value,
240 UTF16ToWideHack(preferred_match->username_value), 240 preferred_match->password_value);
241 UTF16ToWideHack(preferred_match->password_value));
242 } 241 }
243 } 242 }
244 } 243 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/login/login_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698