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

Side by Side Diff: chrome/browser/password_manager/password_store_x.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_X_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // Implements PasswordStore interface. 79 // Implements PasswordStore interface.
80 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE; 80 virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
81 virtual void UpdateLoginImpl( 81 virtual void UpdateLoginImpl(
82 const autofill::PasswordForm& form) OVERRIDE; 82 const autofill::PasswordForm& form) OVERRIDE;
83 virtual void RemoveLoginImpl( 83 virtual void RemoveLoginImpl(
84 const autofill::PasswordForm& form) OVERRIDE; 84 const autofill::PasswordForm& form) OVERRIDE;
85 virtual void RemoveLoginsCreatedBetweenImpl( 85 virtual void RemoveLoginsCreatedBetweenImpl(
86 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; 86 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
87 virtual void GetLoginsImpl( 87 virtual void GetLoginsImpl(
88 const autofill::PasswordForm& form, 88 const autofill::PasswordForm& form,
89 AuthorizationPromptPolicy prompt_policy,
89 const ConsumerCallbackRunner& callback_runner) OVERRIDE; 90 const ConsumerCallbackRunner& callback_runner) OVERRIDE;
90 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE; 91 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE;
91 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE; 92 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE;
92 virtual bool FillAutofillableLogins( 93 virtual bool FillAutofillableLogins(
93 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 94 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
94 virtual bool FillBlacklistLogins( 95 virtual bool FillBlacklistLogins(
95 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 96 std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
96 97
97 // Sort logins by origin, like the ORDER BY clause in login_database.cc. 98 // Sort logins by origin, like the ORDER BY clause in login_database.cc.
98 void SortLoginsByOrigin(NativeBackend::PasswordFormList* list); 99 void SortLoginsByOrigin(NativeBackend::PasswordFormList* list);
(...skipping 21 matching lines...) Expand all
120 // Whether we should allow falling back to the default store. If there is 121 // Whether we should allow falling back to the default store. If there is
121 // nothing to migrate, then the first attempt to use the native store will 122 // nothing to migrate, then the first attempt to use the native store will
122 // be the first time we try to use it and we should allow falling back. If 123 // be the first time we try to use it and we should allow falling back. If
123 // we have migrated successfully, then we do not allow falling back. 124 // we have migrated successfully, then we do not allow falling back.
124 bool allow_fallback_; 125 bool allow_fallback_;
125 126
126 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); 127 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX);
127 }; 128 };
128 129
129 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ 130 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_win_unittest.cc ('k') | chrome/browser/password_manager/password_store_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698