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

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

Issue 1776673003: Fix the password bubble titles for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the tests 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 return (delegate_.browserState)->GetPrefs(); 91 return (delegate_.browserState)->GetPrefs();
92 } 92 }
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 const GURL& origin) {}
102 103
103 void IOSChromePasswordManagerClient::NotifyUserCouldBeAutoSignedIn( 104 void IOSChromePasswordManagerClient::NotifyUserCouldBeAutoSignedIn(
104 scoped_ptr<autofill::PasswordForm> form) {} 105 scoped_ptr<autofill::PasswordForm> form) {}
105 106
106 void IOSChromePasswordManagerClient::NotifySuccessfulLoginWithExistingPassword( 107 void IOSChromePasswordManagerClient::NotifySuccessfulLoginWithExistingPassword(
107 const autofill::PasswordForm& form) {} 108 const autofill::PasswordForm& form) {}
108 109
109 void IOSChromePasswordManagerClient::ForceSavePassword() { 110 void IOSChromePasswordManagerClient::ForceSavePassword() {
110 NOTIMPLEMENTED(); 111 NOTIMPLEMENTED();
111 } 112 }
112 113
113 bool IOSChromePasswordManagerClient::IsSavingAndFillingEnabledForCurrentPage() 114 bool IOSChromePasswordManagerClient::IsSavingAndFillingEnabledForCurrentPage()
114 const { 115 const {
115 return *saving_passwords_enabled_ && !IsOffTheRecord() && 116 return *saving_passwords_enabled_ && !IsOffTheRecord() &&
116 !DidLastPageLoadEncounterSSLErrors() && 117 !DidLastPageLoadEncounterSSLErrors() &&
117 IsFillingEnabledForCurrentPage(); 118 IsFillingEnabledForCurrentPage();
118 } 119 }
119 120
120 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const { 121 const GURL& IOSChromePasswordManagerClient::GetLastCommittedEntryURL() const {
121 return delegate_.lastCommittedURL; 122 return delegate_.lastCommittedURL;
122 } 123 }
123 124
124 const password_manager::CredentialsFilter* 125 const password_manager::CredentialsFilter*
125 IOSChromePasswordManagerClient::GetStoreResultFilter() const { 126 IOSChromePasswordManagerClient::GetStoreResultFilter() const {
126 return &credentials_filter_; 127 return &credentials_filter_;
127 } 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