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

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

Issue 1414463004: Implement origin-based deletion for passwords in PasswordDefaultMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 5 years, 2 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 <vector> 8 #include <vector>
9 9
10 #include "base/prefs/pref_member.h" 10 #include "base/prefs/pref_member.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // PasswordStore: 68 // PasswordStore:
69 void ReportMetricsImpl(const std::string& sync_username, 69 void ReportMetricsImpl(const std::string& sync_username,
70 bool custom_passphrase_sync_enabled) override; 70 bool custom_passphrase_sync_enabled) override;
71 password_manager::PasswordStoreChangeList AddLoginImpl( 71 password_manager::PasswordStoreChangeList AddLoginImpl(
72 const autofill::PasswordForm& form) override; 72 const autofill::PasswordForm& form) override;
73 password_manager::PasswordStoreChangeList UpdateLoginImpl( 73 password_manager::PasswordStoreChangeList UpdateLoginImpl(
74 const autofill::PasswordForm& form) override; 74 const autofill::PasswordForm& form) override;
75 password_manager::PasswordStoreChangeList RemoveLoginImpl( 75 password_manager::PasswordStoreChangeList RemoveLoginImpl(
76 const autofill::PasswordForm& form) override; 76 const autofill::PasswordForm& form) override;
77 password_manager::PasswordStoreChangeList RemoveLoginsByOriginAndTimeImpl(
78 const url::Origin& origin,
79 base::Time delete_begin,
80 base::Time delete_end) override;
77 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( 81 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl(
78 base::Time delete_begin, 82 base::Time delete_begin,
79 base::Time delete_end) override; 83 base::Time delete_end) override;
80 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( 84 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl(
81 base::Time delete_begin, 85 base::Time delete_begin,
82 base::Time delete_end) override; 86 base::Time delete_end) override;
83 ScopedVector<autofill::PasswordForm> FillMatchingLogins( 87 ScopedVector<autofill::PasswordForm> FillMatchingLogins(
84 const autofill::PasswordForm& form, 88 const autofill::PasswordForm& form,
85 AuthorizationPromptPolicy prompt_policy) override; 89 AuthorizationPromptPolicy prompt_policy) override;
86 bool FillAutofillableLogins( 90 bool FillAutofillableLogins(
(...skipping 25 matching lines...) Expand all
112 // them. If this is the case then Shutdown() flushes the tasks after stopping 116 // them. If this is the case then Shutdown() flushes the tasks after stopping
113 // the background thread. 117 // the background thread.
114 // After InitOnBackgroundThread is run once, the queue may not be modified on 118 // After InitOnBackgroundThread is run once, the queue may not be modified on
115 // the background thread any more. 119 // the background thread any more.
116 std::vector<base::Closure> pending_ui_tasks_; 120 std::vector<base::Closure> pending_ui_tasks_;
117 121
118 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); 122 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac);
119 }; 123 };
120 124
121 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ 125 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698