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

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

Issue 2899083004: Implement PasswordStore::GetLoginsForSameOrganizationName. (Closed)
Patch Set: Rebase. Created 3 years, 6 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
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( 112 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl(
113 base::Time delete_begin, 113 base::Time delete_begin,
114 base::Time delete_end) override; 114 base::Time delete_end) override;
115 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( 115 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl(
116 base::Time delete_begin, 116 base::Time delete_begin,
117 base::Time delete_end) override; 117 base::Time delete_end) override;
118 password_manager::PasswordStoreChangeList DisableAutoSignInForOriginsImpl( 118 password_manager::PasswordStoreChangeList DisableAutoSignInForOriginsImpl(
119 const base::Callback<bool(const GURL&)>& origin_filter) override; 119 const base::Callback<bool(const GURL&)>& origin_filter) override;
120 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins( 120 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins(
121 const FormDigest& form) override; 121 const FormDigest& form) override;
122 std::vector<std::unique_ptr<autofill::PasswordForm>>
123 FillLoginsForSameOrganizationName(const std::string& signon_realm) override;
122 bool FillAutofillableLogins( 124 bool FillAutofillableLogins(
123 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 125 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
124 bool FillBlacklistLogins( 126 bool FillBlacklistLogins(
125 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 127 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
126 128
127 // Check to see whether migration is necessary, and perform it if so. 129 // Check to see whether migration is necessary, and perform it if so.
128 void CheckMigration(); 130 void CheckMigration();
129 131
130 // Return true if we should try using the native backend. 132 // Return true if we should try using the native backend.
131 bool use_native_backend() { return !!backend_.get(); } 133 bool use_native_backend() { return !!backend_.get(); }
(...skipping 15 matching lines...) Expand all
147 // Whether we should allow falling back to the default store. If there is 149 // Whether we should allow falling back to the default store. If there is
148 // nothing to migrate, then the first attempt to use the native store will 150 // nothing to migrate, then the first attempt to use the native store will
149 // be the first time we try to use it and we should allow falling back. If 151 // be the first time we try to use it and we should allow falling back. If
150 // we have migrated successfully, then we do not allow falling back. 152 // we have migrated successfully, then we do not allow falling back.
151 bool allow_fallback_; 153 bool allow_fallback_;
152 154
153 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); 155 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX);
154 }; 156 };
155 157
156 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ 158 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_proxy_mac.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