| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 if (matched_forms.empty() && db_handler_.get()) { | 191 if (matched_forms.empty() && db_handler_.get()) { |
| 192 db_handler_->GetIE7Login(form, callback_runner); | 192 db_handler_->GetIE7Login(form, callback_runner); |
| 193 } else { | 193 } else { |
| 194 // No need to get IE7 login. | 194 // No need to get IE7 login. |
| 195 callback_runner.Run(matched_forms); | 195 callback_runner.Run(matched_forms); |
| 196 } | 196 } |
| 197 } | 197 } |
| 198 | 198 |
| 199 void PasswordStoreWin::GetLoginsImpl( | 199 void PasswordStoreWin::GetLoginsImpl( |
| 200 const PasswordForm& form, | 200 const PasswordForm& form, |
| 201 const ConsumerCallbackRunner& callback_runner) { | 201 const ConsumerCallbackRunner& callback_runner, |
| 202 AuthorizationPromptPermission permission_to_prompt) { |
| 202 ConsumerCallbackRunner get_ie7_login = | 203 ConsumerCallbackRunner get_ie7_login = |
| 203 base::Bind(&PasswordStoreWin::GetIE7LoginIfNecessary, | 204 base::Bind(&PasswordStoreWin::GetIE7LoginIfNecessary, |
| 204 this, form, callback_runner); | 205 this, form, callback_runner); |
| 205 PasswordStoreDefault::GetLoginsImpl(form, get_ie7_login); | 206 PasswordStoreDefault::GetLoginsImpl(form, get_ie7_login); |
| 206 } | 207 } |
| OLD | NEW |