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

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

Issue 106053008: [Mac] Passwords: Don't always prompt to access passwords saved by other browsers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another compile failure. Created 7 years 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) 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 if (matched_forms.empty() && db_handler_.get()) { 189 if (matched_forms.empty() && db_handler_.get()) {
190 db_handler_->GetIE7Login(form, callback_runner); 190 db_handler_->GetIE7Login(form, callback_runner);
191 } else { 191 } else {
192 // No need to get IE7 login. 192 // No need to get IE7 login.
193 callback_runner.Run(matched_forms); 193 callback_runner.Run(matched_forms);
194 } 194 }
195 } 195 }
196 196
197 void PasswordStoreWin::GetLoginsImpl( 197 void PasswordStoreWin::GetLoginsImpl(
198 const PasswordForm& form, 198 const PasswordForm& form,
199 AuthorizationPromptPolicy prompt_policy,
199 const ConsumerCallbackRunner& callback_runner) { 200 const ConsumerCallbackRunner& callback_runner) {
200 ConsumerCallbackRunner get_ie7_login = 201 ConsumerCallbackRunner get_ie7_login =
201 base::Bind(&PasswordStoreWin::GetIE7LoginIfNecessary, 202 base::Bind(&PasswordStoreWin::GetIE7LoginIfNecessary,
202 this, form, callback_runner); 203 this, form, callback_runner);
203 PasswordStoreDefault::GetLoginsImpl(form, get_ie7_login); 204 PasswordStoreDefault::GetLoginsImpl(form, prompt_policy, get_ie7_login);
204 } 205 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_win.h ('k') | chrome/browser/password_manager/password_store_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698