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

Side by Side Diff: chrome/browser/password_manager/password_store_default.h

Issue 1874001: Migrate web data service logins to the login database correctly on win. (Closed)
Patch Set: Fix PSW::OnWeb Created 10 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_default.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 25 matching lines...) Expand all
36 void RemoveLoginImpl(const webkit_glue::PasswordForm& form); 36 void RemoveLoginImpl(const webkit_glue::PasswordForm& form);
37 void RemoveLoginsCreatedBetweenImpl(const base::Time& delete_begin, 37 void RemoveLoginsCreatedBetweenImpl(const base::Time& delete_begin,
38 const base::Time& delete_end); 38 const base::Time& delete_end);
39 void GetLoginsImpl(GetLoginsRequest* request, 39 void GetLoginsImpl(GetLoginsRequest* request,
40 const webkit_glue::PasswordForm& form); 40 const webkit_glue::PasswordForm& form);
41 void GetAutofillableLoginsImpl(GetLoginsRequest* request); 41 void GetAutofillableLoginsImpl(GetLoginsRequest* request);
42 void GetBlacklistLoginsImpl(GetLoginsRequest* request); 42 void GetBlacklistLoginsImpl(GetLoginsRequest* request);
43 43
44 scoped_refptr<WebDataService> web_data_service_; 44 scoped_refptr<WebDataService> web_data_service_;
45 45
46 // Implements the WebDataService consumer interface.
47 void OnWebDataServiceRequestDone(WebDataService::Handle handle,
48 const WDTypedResult *result);
49
46 private: 50 private:
47 // Migrates logins from the WDS to the LoginDatabase. 51 // Migrates logins from the WDS to the LoginDatabase.
48 void MigrateIfNecessary(); 52 void MigrateIfNecessary();
49 53
50 // Implements the WebDataService consumer interface.
51 void OnWebDataServiceRequestDone(WebDataService::Handle handle,
52 const WDTypedResult *result);
53
54 scoped_ptr<LoginDatabase> login_db_; 54 scoped_ptr<LoginDatabase> login_db_;
55 Profile* profile_; 55 Profile* profile_;
56 56
57 std::set<WebDataService::Handle> handles_; 57 std::set<WebDataService::Handle> handles_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); 59 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_ 62 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698