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

Side by Side Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm

Issue 1832933002: Update the |skip_zero_click| flag of a credential when selected in the account chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 8 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
« no previous file with comments | « ios/chrome/browser/passwords/ios_chrome_password_manager_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_client.h" 5 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ProfileSyncService* sync_service = 56 ProfileSyncService* sync_service =
57 IOSChromeProfileSyncServiceFactory::GetForBrowserState( 57 IOSChromeProfileSyncServiceFactory::GetForBrowserState(
58 delegate_.browserState); 58 delegate_.browserState);
59 return password_manager_util::GetPasswordSyncState(sync_service); 59 return password_manager_util::GetPasswordSyncState(sync_service);
60 } 60 }
61 61
62 bool IOSChromePasswordManagerClient::PromptUserToChooseCredentials( 62 bool IOSChromePasswordManagerClient::PromptUserToChooseCredentials(
63 ScopedVector<autofill::PasswordForm> local_forms, 63 ScopedVector<autofill::PasswordForm> local_forms,
64 ScopedVector<autofill::PasswordForm> federated_forms, 64 ScopedVector<autofill::PasswordForm> federated_forms,
65 const GURL& origin, 65 const GURL& origin,
66 base::Callback<void(const password_manager::CredentialInfo&)> callback) { 66 const CredentialsCallback& callback) {
67 NOTIMPLEMENTED(); 67 NOTIMPLEMENTED();
68 return false; 68 return false;
69 } 69 }
70 70
71 bool IOSChromePasswordManagerClient::PromptUserToSaveOrUpdatePassword( 71 bool IOSChromePasswordManagerClient::PromptUserToSaveOrUpdatePassword(
72 scoped_ptr<PasswordFormManager> form_to_save, 72 scoped_ptr<PasswordFormManager> form_to_save,
73 password_manager::CredentialSourceType type, 73 password_manager::CredentialSourceType type,
74 bool update_password) { 74 bool update_password) {
75 if (form_to_save->IsBlacklisted()) 75 if (form_to_save->IsBlacklisted())
76 return false; 76 return false;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 120
121 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const { 121 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const {
122 return delegate_.lastCommittedURL; 122 return delegate_.lastCommittedURL;
123 } 123 }
124 124
125 const password_manager::CredentialsFilter* 125 const password_manager::CredentialsFilter*
126 IOSChromePasswordManagerClient::GetStoreResultFilter() const { 126 IOSChromePasswordManagerClient::GetStoreResultFilter() const {
127 return &credentials_filter_; 127 return &credentials_filter_;
128 } 128 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/passwords/ios_chrome_password_manager_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698