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

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

Issue 1735013004: CREDENTIAL: Only toggle 'skip_zero_click' state if API is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 9 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 PasswordStore* IOSChromePasswordManagerClient::GetPasswordStore() const { 94 PasswordStore* IOSChromePasswordManagerClient::GetPasswordStore() const {
95 return IOSChromePasswordStoreFactory::GetForBrowserState( 95 return IOSChromePasswordStoreFactory::GetForBrowserState(
96 delegate_.browserState, ServiceAccessType::EXPLICIT_ACCESS) 96 delegate_.browserState, ServiceAccessType::EXPLICIT_ACCESS)
97 .get(); 97 .get();
98 } 98 }
99 99
100 void IOSChromePasswordManagerClient::NotifyUserAutoSignin( 100 void IOSChromePasswordManagerClient::NotifyUserAutoSignin(
101 ScopedVector<autofill::PasswordForm> local_forms) {} 101 ScopedVector<autofill::PasswordForm> local_forms) {}
102 102
103 void IOSChromePasswordManagerClient::NotifyUserAutoSigninBlockedOnFirstRun( 103 void IOSChromePasswordManagerClient::NotifyUserCouldBeAutoSignedIn(
104 scoped_ptr<autofill::PasswordForm> form) {} 104 scoped_ptr<autofill::PasswordForm> form) {}
105 105
106 void IOSChromePasswordManagerClient::NotifySuccessfulLoginWithExistingPassword( 106 void IOSChromePasswordManagerClient::NotifySuccessfulLoginWithExistingPassword(
107 const autofill::PasswordForm& form) {} 107 const autofill::PasswordForm& form) {}
108 108
109 void IOSChromePasswordManagerClient::ForceSavePassword() { 109 void IOSChromePasswordManagerClient::ForceSavePassword() {
110 NOTIMPLEMENTED(); 110 NOTIMPLEMENTED();
111 } 111 }
112 112
113 bool IOSChromePasswordManagerClient::IsSavingAndFillingEnabledForCurrentPage() 113 bool IOSChromePasswordManagerClient::IsSavingAndFillingEnabledForCurrentPage()
114 const { 114 const {
115 return *saving_passwords_enabled_ && !IsOffTheRecord() && 115 return *saving_passwords_enabled_ && !IsOffTheRecord() &&
116 !DidLastPageLoadEncounterSSLErrors() && 116 !DidLastPageLoadEncounterSSLErrors() &&
117 IsFillingEnabledForCurrentPage(); 117 IsFillingEnabledForCurrentPage();
118 } 118 }
119 119
120 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const { 120 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const {
121 return delegate_.lastCommittedURL; 121 return delegate_.lastCommittedURL;
122 } 122 }
123 123
124 const password_manager::CredentialsFilter* 124 const password_manager::CredentialsFilter*
125 IOSChromePasswordManagerClient::GetStoreResultFilter() const { 125 IOSChromePasswordManagerClient::GetStoreResultFilter() const {
126 return &credentials_filter_; 126 return &credentials_filter_;
127 } 127 }
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