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

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

Issue 2132063002: Implement origin-based deletion for password manager's auto-signin bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_NATIVE_BACKEND_KWALLET_X_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 bool RemoveLogin(const autofill::PasswordForm& form, 47 bool RemoveLogin(const autofill::PasswordForm& form,
48 password_manager::PasswordStoreChangeList* changes) override; 48 password_manager::PasswordStoreChangeList* changes) override;
49 bool RemoveLoginsCreatedBetween( 49 bool RemoveLoginsCreatedBetween(
50 base::Time delete_begin, 50 base::Time delete_begin,
51 base::Time delete_end, 51 base::Time delete_end,
52 password_manager::PasswordStoreChangeList* changes) override; 52 password_manager::PasswordStoreChangeList* changes) override;
53 bool RemoveLoginsSyncedBetween( 53 bool RemoveLoginsSyncedBetween(
54 base::Time delete_begin, 54 base::Time delete_begin,
55 base::Time delete_end, 55 base::Time delete_end,
56 password_manager::PasswordStoreChangeList* changes) override; 56 password_manager::PasswordStoreChangeList* changes) override;
57 bool DisableAutoSignInForAllLogins( 57 bool DisableAutoSignInForOrigins(
58 const base::Callback<bool(const GURL&)>& origin_filter,
58 password_manager::PasswordStoreChangeList* changes) override; 59 password_manager::PasswordStoreChangeList* changes) override;
59 bool GetLogins(const autofill::PasswordForm& form, 60 bool GetLogins(const autofill::PasswordForm& form,
60 ScopedVector<autofill::PasswordForm>* forms) override; 61 ScopedVector<autofill::PasswordForm>* forms) override;
61 bool GetAutofillableLogins( 62 bool GetAutofillableLogins(
62 ScopedVector<autofill::PasswordForm>* forms) override; 63 ScopedVector<autofill::PasswordForm>* forms) override;
63 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; 64 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override;
64 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; 65 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override;
65 66
66 protected: 67 protected:
67 // Invalid handle returned by WalletHandle(). 68 // Invalid handle returned by WalletHandle().
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 146
146 // The name of the wallet we've opened. Set during Init(). 147 // The name of the wallet we've opened. Set during Init().
147 std::string wallet_name_; 148 std::string wallet_name_;
148 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs. 149 // The application name (e.g. "Chromium"), shown in KWallet auth dialogs.
149 const std::string app_name_; 150 const std::string app_name_;
150 151
151 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet); 152 DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet);
152 }; 153 };
153 154
154 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_ 155 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_KWALLET_X_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698