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

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

Issue 2320763002: Support origin-based deletion for password store statistics (Closed)
Patch Set: Mac-specific code Created 4 years, 3 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_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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 base::Time delete_begin, 84 base::Time delete_begin,
85 base::Time delete_end) override; 85 base::Time delete_end) override;
86 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( 86 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl(
87 base::Time delete_begin, 87 base::Time delete_begin,
88 base::Time delete_end) override; 88 base::Time delete_end) override;
89 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( 89 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl(
90 base::Time delete_begin, 90 base::Time delete_begin,
91 base::Time delete_end) override; 91 base::Time delete_end) override;
92 password_manager::PasswordStoreChangeList DisableAutoSignInForOriginsImpl( 92 password_manager::PasswordStoreChangeList DisableAutoSignInForOriginsImpl(
93 const base::Callback<bool(const GURL&)>& origin_filter) override; 93 const base::Callback<bool(const GURL&)>& origin_filter) override;
94 bool RemoveStatisticsCreatedBetweenImpl(base::Time delete_begin, 94 bool RemoveStatisticsByOriginAndTimeImpl(
95 base::Time delete_end) override; 95 const base::Callback<bool(const GURL&)>& origin_filter,
96 base::Time delete_begin,
97 base::Time delete_end) override;
96 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins( 98 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins(
97 const FormDigest& form) override; 99 const FormDigest& form) override;
98 bool FillAutofillableLogins( 100 bool FillAutofillableLogins(
99 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 101 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
100 bool FillBlacklistLogins( 102 bool FillBlacklistLogins(
101 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 103 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
102 void AddSiteStatsImpl( 104 void AddSiteStatsImpl(
103 const password_manager::InteractionsStats& stats) override; 105 const password_manager::InteractionsStats& stats) override;
104 void RemoveSiteStatsImpl(const GURL& origin_domain) override; 106 void RemoveSiteStatsImpl(const GURL& origin_domain) override;
105 std::vector<std::unique_ptr<password_manager::InteractionsStats>> 107 std::vector<std::unique_ptr<password_manager::InteractionsStats>>
(...skipping 26 matching lines...) Expand all
132 std::unique_ptr<crypto::AppleKeychain> keychain_; 134 std::unique_ptr<crypto::AppleKeychain> keychain_;
133 135
134 // The login metadata SQL database. The caller is resonsible for initializing 136 // The login metadata SQL database. The caller is resonsible for initializing
135 // it. 137 // it.
136 password_manager::LoginDatabase* login_metadata_db_; 138 password_manager::LoginDatabase* login_metadata_db_;
137 139
138 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 140 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
139 }; 141 };
140 142
141 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 143 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover_unittest.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