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

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

Issue 10227014: Remove the very old code that migrated password data from the WebDataService to PasswordStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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) 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 if (ie7_form) 165 if (ie7_form)
166 request->value.push_back(ie7_form); 166 request->value.push_back(ie7_form);
167 167
168 request->ForwardResult(request->handle(), request->value); 168 request->ForwardResult(request->handle(), request->value);
169 } 169 }
170 170
171 PasswordStoreWin::PasswordStoreWin(LoginDatabase* login_database, 171 PasswordStoreWin::PasswordStoreWin(LoginDatabase* login_database,
172 Profile* profile, 172 Profile* profile,
173 WebDataService* web_data_service) 173 WebDataService* web_data_service)
174 : PasswordStoreDefault(login_database, profile, web_data_service) { 174 : PasswordStoreDefault(login_database, profile) {
175 db_handler_.reset(new DBHandler(web_data_service, this)); 175 db_handler_.reset(new DBHandler(web_data_service, this));
176 } 176 }
177 177
178 PasswordStoreWin::~PasswordStoreWin() { 178 PasswordStoreWin::~PasswordStoreWin() {
179 } 179 }
180 180
181 void PasswordStoreWin::ShutdownOnDBThread() { 181 void PasswordStoreWin::ShutdownOnDBThread() {
182 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 182 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
183 db_handler_.reset(); 183 db_handler_.reset();
184 } 184 }
(...skipping 21 matching lines...) Expand all
206 PasswordStore::ForwardLoginsResult(request); 206 PasswordStore::ForwardLoginsResult(request);
207 } 207 }
208 } 208 }
209 209
210 void PasswordStoreWin::GetLoginsImpl(GetLoginsRequest* request, 210 void PasswordStoreWin::GetLoginsImpl(GetLoginsRequest* request,
211 const PasswordForm& form) { 211 const PasswordForm& form) {
212 static_cast<FormGetLoginsRequest*>(request)->SetLoginsRequestForm(form); 212 static_cast<FormGetLoginsRequest*>(request)->SetLoginsRequestForm(form);
213 213
214 PasswordStoreDefault::GetLoginsImpl(request, form); 214 PasswordStoreDefault::GetLoginsImpl(request, form);
215 } 215 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698