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

Side by Side Diff: chrome/browser/password_manager/native_backend_gnome_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: Fixed PasswordStoreMac 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_GNOME_X_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_
7 7
8 // libgnome-keyring has been deprecated in favor of libsecret. 8 // libgnome-keyring has been deprecated in favor of libsecret.
9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html 9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html
10 // 10 //
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool RemoveLogin(const autofill::PasswordForm& form, 100 bool RemoveLogin(const autofill::PasswordForm& form,
101 password_manager::PasswordStoreChangeList* changes) override; 101 password_manager::PasswordStoreChangeList* changes) override;
102 bool RemoveLoginsCreatedBetween( 102 bool RemoveLoginsCreatedBetween(
103 base::Time delete_begin, 103 base::Time delete_begin,
104 base::Time delete_end, 104 base::Time delete_end,
105 password_manager::PasswordStoreChangeList* changes) override; 105 password_manager::PasswordStoreChangeList* changes) override;
106 bool RemoveLoginsSyncedBetween( 106 bool RemoveLoginsSyncedBetween(
107 base::Time delete_begin, 107 base::Time delete_begin,
108 base::Time delete_end, 108 base::Time delete_end,
109 password_manager::PasswordStoreChangeList* changes) override; 109 password_manager::PasswordStoreChangeList* changes) override;
110 bool DisableAutoSignInForAllLogins( 110 bool DisableAutoSignInForOrigins(
111 const base::Callback<bool(const GURL&)>& origin_filter,
111 password_manager::PasswordStoreChangeList* changes) override; 112 password_manager::PasswordStoreChangeList* changes) override;
112 bool GetLogins(const autofill::PasswordForm& form, 113 bool GetLogins(const autofill::PasswordForm& form,
113 ScopedVector<autofill::PasswordForm>* forms) override; 114 ScopedVector<autofill::PasswordForm>* forms) override;
114 bool GetAutofillableLogins( 115 bool GetAutofillableLogins(
115 ScopedVector<autofill::PasswordForm>* forms) override; 116 ScopedVector<autofill::PasswordForm>* forms) override;
116 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; 117 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override;
117 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; 118 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override;
118 119
119 private: 120 private:
120 enum TimestampToCompare { 121 enum TimestampToCompare {
(...skipping 26 matching lines...) Expand all
147 TimestampToCompare date_to_compare, 148 TimestampToCompare date_to_compare,
148 password_manager::PasswordStoreChangeList* changes); 149 password_manager::PasswordStoreChangeList* changes);
149 150
150 // The app string, possibly based on the local profile id. 151 // The app string, possibly based on the local profile id.
151 std::string app_string_; 152 std::string app_string_;
152 153
153 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); 154 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome);
154 }; 155 };
155 156
156 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ 157 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698