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

Side by Side Diff: chrome/browser/password_manager/password_store_mac.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_MAC_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void ReportMetricsImpl() OVERRIDE; 46 virtual void ReportMetricsImpl() OVERRIDE;
47 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE; 47 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
48 virtual void UpdateLoginImpl( 48 virtual void UpdateLoginImpl(
49 const autofill::PasswordForm& form) OVERRIDE; 49 const autofill::PasswordForm& form) OVERRIDE;
50 virtual void RemoveLoginImpl( 50 virtual void RemoveLoginImpl(
51 const autofill::PasswordForm& form) OVERRIDE; 51 const autofill::PasswordForm& form) OVERRIDE;
52 virtual void RemoveLoginsCreatedBetweenImpl( 52 virtual void RemoveLoginsCreatedBetweenImpl(
53 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; 53 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
54 virtual void GetLoginsImpl( 54 virtual void GetLoginsImpl(
55 const autofill::PasswordForm& form, 55 const autofill::PasswordForm& form,
56 AuthorizationPromptPolicy prompt_policy,
56 const ConsumerCallbackRunner& callback_runner) OVERRIDE; 57 const ConsumerCallbackRunner& callback_runner) OVERRIDE;
57 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE; 58 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE;
58 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE; 59 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE;
59 virtual bool FillAutofillableLogins( 60 virtual bool FillAutofillableLogins(
60 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 61 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
61 virtual bool FillBlacklistLogins( 62 virtual bool FillBlacklistLogins(
62 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 63 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
63 64
64 // Adds the given form to the Keychain if it's something we want to store 65 // Adds the given form to the Keychain if it's something we want to store
65 // there (i.e., not a blacklist entry). Returns true if the operation 66 // there (i.e., not a blacklist entry). Returns true if the operation
(...skipping 29 matching lines...) Expand all
95 scoped_ptr<base::Thread> thread_; 96 scoped_ptr<base::Thread> thread_;
96 97
97 // Since we aren't running on a well-known thread but still want to send out 98 // Since we aren't running on a well-known thread but still want to send out
98 // notifications, we need to run our own service. 99 // notifications, we need to run our own service.
99 scoped_ptr<content::NotificationService> notification_service_; 100 scoped_ptr<content::NotificationService> notification_service_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 102 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 105 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_default.cc ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698