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

Side by Side Diff: chrome/browser/password_manager/password_store_proxy_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXY_MAC_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 base::Time delete_begin, 81 base::Time delete_begin,
82 base::Time delete_end) override; 82 base::Time delete_end) override;
83 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( 83 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl(
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 RemoveLoginsSyncedBetweenImpl( 86 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl(
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 DisableAutoSignInForOriginsImpl( 89 password_manager::PasswordStoreChangeList DisableAutoSignInForOriginsImpl(
90 const base::Callback<bool(const GURL&)>& origin_filter) override; 90 const base::Callback<bool(const GURL&)>& origin_filter) override;
91 bool RemoveStatisticsCreatedBetweenImpl(base::Time delete_begin, 91 bool RemoveStatisticsByOriginAndTimeImpl(
92 base::Time delete_end) override; 92 const base::Callback<bool(const GURL&)>& origin_filter,
93 base::Time delete_begin,
94 base::Time delete_end) override;
93 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins( 95 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins(
94 const FormDigest& form) override; 96 const FormDigest& form) override;
95 bool FillAutofillableLogins( 97 bool FillAutofillableLogins(
96 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 98 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
97 bool FillBlacklistLogins( 99 bool FillBlacklistLogins(
98 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; 100 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
99 void AddSiteStatsImpl( 101 void AddSiteStatsImpl(
100 const password_manager::InteractionsStats& stats) override; 102 const password_manager::InteractionsStats& stats) override;
101 void RemoveSiteStatsImpl(const GURL& origin_domain) override; 103 void RemoveSiteStatsImpl(const GURL& origin_domain) override;
102 std::vector<std::unique_ptr<password_manager::InteractionsStats>> 104 std::vector<std::unique_ptr<password_manager::InteractionsStats>>
(...skipping 18 matching lines...) Expand all
121 // them. If this is the case then Shutdown() flushes the tasks after stopping 123 // them. If this is the case then Shutdown() flushes the tasks after stopping
122 // the background thread. 124 // the background thread.
123 // After InitOnBackgroundThread is run once, the queue may not be modified on 125 // After InitOnBackgroundThread is run once, the queue may not be modified on
124 // the background thread any more. 126 // the background thread any more.
125 std::vector<base::Closure> pending_ui_tasks_; 127 std::vector<base::Closure> pending_ui_tasks_;
126 128
127 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); 129 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac);
128 }; 130 };
129 131
130 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ 132 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/browser/password_manager/password_store_proxy_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698