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

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

Issue 1480153002: Investigate Android build problems in review 1414463004. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Add //url dep on GN test_support target. Created 5 years 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 #include "chrome/browser/password_manager/password_store_proxy_mac.h" 5 #include "chrome/browser/password_manager/password_store_proxy_mac.h"
6 6
7 #include <string>
8
7 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
8 #include "chrome/browser/password_manager/password_store_mac.h" 10 #include "chrome/browser/password_manager/password_store_mac.h"
9 #include "chrome/browser/password_manager/simple_password_store_mac.h" 11 #include "chrome/browser/password_manager/simple_password_store_mac.h"
10 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
11 #include "crypto/apple_keychain.h" 13 #include "crypto/apple_keychain.h"
12 14
13 using password_manager::MigrationStatus; 15 using password_manager::MigrationStatus;
14 using password_manager::PasswordStoreChangeList; 16 using password_manager::PasswordStoreChangeList;
15 17
16 PasswordStoreProxyMac::PasswordStoreProxyMac( 18 PasswordStoreProxyMac::PasswordStoreProxyMac(
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 PasswordStoreChangeList PasswordStoreProxyMac::UpdateLoginImpl( 161 PasswordStoreChangeList PasswordStoreProxyMac::UpdateLoginImpl(
160 const autofill::PasswordForm& form) { 162 const autofill::PasswordForm& form) {
161 return GetBackend()->UpdateLoginImpl(form); 163 return GetBackend()->UpdateLoginImpl(form);
162 } 164 }
163 165
164 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginImpl( 166 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginImpl(
165 const autofill::PasswordForm& form) { 167 const autofill::PasswordForm& form) {
166 return GetBackend()->RemoveLoginImpl(form); 168 return GetBackend()->RemoveLoginImpl(form);
167 } 169 }
168 170
171 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsByOriginAndTimeImpl(
172 const url::Origin& origin,
173 base::Time delete_begin,
174 base::Time delete_end) {
175 return GetBackend()->RemoveLoginsByOriginAndTimeImpl(origin, delete_begin,
176 delete_end);
177 }
178
169 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsCreatedBetweenImpl( 179 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsCreatedBetweenImpl(
170 base::Time delete_begin, 180 base::Time delete_begin,
171 base::Time delete_end) { 181 base::Time delete_end) {
172 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end); 182 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end);
173 } 183 }
174 184
175 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl( 185 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl(
176 base::Time delete_begin, 186 base::Time delete_begin,
177 base::Time delete_end) { 187 base::Time delete_end) {
178 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end); 188 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end);
(...skipping 28 matching lines...) Expand all
207 } 217 }
208 218
209 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { 219 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) {
210 GetBackend()->RemoveSiteStatsImpl(origin_domain); 220 GetBackend()->RemoveSiteStatsImpl(origin_domain);
211 } 221 }
212 222
213 std::vector<scoped_ptr<password_manager::InteractionsStats>> 223 std::vector<scoped_ptr<password_manager::InteractionsStats>>
214 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { 224 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) {
215 return GetBackend()->GetSiteStatsImpl(origin_domain); 225 return GetBackend()->GetSiteStatsImpl(origin_domain);
216 } 226 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698