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

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

Issue 9665007: Profile refactoring: Remove all PasswordStore code from the Profile interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to factory list Created 8 years, 9 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) 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 #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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 class PasswordStoreDefault : public PasswordStore { 21 class PasswordStoreDefault : public PasswordStore {
22 public: 22 public:
23 // Takes ownership of |login_db|. 23 // Takes ownership of |login_db|.
24 PasswordStoreDefault(LoginDatabase* login_db, 24 PasswordStoreDefault(LoginDatabase* login_db,
25 Profile* profile, 25 Profile* profile,
26 WebDataService* web_data_service); 26 WebDataService* web_data_service);
27 27
28 protected: 28 protected:
29 virtual ~PasswordStoreDefault(); 29 virtual ~PasswordStoreDefault();
30 30
31 // Implements RefCountedProfileKeyedService.
32 virtual void ShutdownOnUIThread() OVERRIDE;
33
31 // Implements PasswordStore interface. 34 // Implements PasswordStore interface.
32 virtual void Shutdown() OVERRIDE;
33 virtual void ReportMetricsImpl() OVERRIDE; 35 virtual void ReportMetricsImpl() OVERRIDE;
34 virtual void AddLoginImpl(const webkit::forms::PasswordForm& form) OVERRIDE; 36 virtual void AddLoginImpl(const webkit::forms::PasswordForm& form) OVERRIDE;
35 virtual void UpdateLoginImpl( 37 virtual void UpdateLoginImpl(
36 const webkit::forms::PasswordForm& form) OVERRIDE; 38 const webkit::forms::PasswordForm& form) OVERRIDE;
37 virtual void RemoveLoginImpl( 39 virtual void RemoveLoginImpl(
38 const webkit::forms::PasswordForm& form) OVERRIDE; 40 const webkit::forms::PasswordForm& form) OVERRIDE;
39 virtual void RemoveLoginsCreatedBetweenImpl( 41 virtual void RemoveLoginsCreatedBetweenImpl(
40 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; 42 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
41 virtual void GetLoginsImpl(GetLoginsRequest* request, 43 virtual void GetLoginsImpl(GetLoginsRequest* request,
42 const webkit::forms::PasswordForm& form) OVERRIDE; 44 const webkit::forms::PasswordForm& form) OVERRIDE;
(...skipping 19 matching lines...) Expand all
62 64
63 scoped_ptr<LoginDatabase> login_db_; 65 scoped_ptr<LoginDatabase> login_db_;
64 Profile* profile_; 66 Profile* profile_;
65 67
66 scoped_ptr<MigrateHelper> migrate_helper_; 68 scoped_ptr<MigrateHelper> migrate_helper_;
67 69
68 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); 70 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
69 }; 71 };
70 72
71 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_ 73 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_DEFAULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store.cc ('k') | chrome/browser/password_manager/password_store_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698