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

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

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 #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 <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 virtual void ReportMetricsImpl() OVERRIDE; 31 virtual void ReportMetricsImpl() OVERRIDE;
32 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE; 32 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
33 virtual void UpdateLoginImpl( 33 virtual void UpdateLoginImpl(
34 const autofill::PasswordForm& form) OVERRIDE; 34 const autofill::PasswordForm& form) OVERRIDE;
35 virtual void RemoveLoginImpl( 35 virtual void RemoveLoginImpl(
36 const autofill::PasswordForm& form) OVERRIDE; 36 const autofill::PasswordForm& form) OVERRIDE;
37 virtual void RemoveLoginsCreatedBetweenImpl( 37 virtual void RemoveLoginsCreatedBetweenImpl(
38 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; 38 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
39 virtual void GetLoginsImpl( 39 virtual void GetLoginsImpl(
40 const autofill::PasswordForm& form, 40 const autofill::PasswordForm& form,
41 AuthorizationPromptPolicy prompt_policy,
41 const ConsumerCallbackRunner& callback_runner) OVERRIDE; 42 const ConsumerCallbackRunner& callback_runner) OVERRIDE;
42 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE; 43 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE;
43 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE; 44 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE;
44 virtual bool FillAutofillableLogins( 45 virtual bool FillAutofillableLogins(
45 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 46 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
46 virtual bool FillBlacklistLogins( 47 virtual bool FillBlacklistLogins(
47 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 48 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
48 49
49 protected: 50 protected:
50 inline bool DeleteAndRecreateDatabaseFile() { 51 inline bool DeleteAndRecreateDatabaseFile() {
51 return login_db_->DeleteAndRecreateDatabaseFile(); 52 return login_db_->DeleteAndRecreateDatabaseFile();
52 } 53 }
53 54
54 private: 55 private:
55 scoped_ptr<LoginDatabase> login_db_; 56 scoped_ptr<LoginDatabase> login_db_;
56 Profile* profile_; 57 Profile* profile_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); 59 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
59 }; 60 };
60 61
61 #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 | « 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