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

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

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
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 IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #import "components/password_manager/core/browser/password_manager_client.h" 9 #import "components/password_manager/core/browser/password_manager_client.h"
10 #include "components/password_manager/sync/browser/sync_credentials_filter.h" 10 #include "components/password_manager/sync/browser/sync_credentials_filter.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ScopedVector<autofill::PasswordForm> local_forms, 49 ScopedVector<autofill::PasswordForm> local_forms,
50 ScopedVector<autofill::PasswordForm> federated_forms, 50 ScopedVector<autofill::PasswordForm> federated_forms,
51 const GURL& origin, 51 const GURL& origin,
52 base::Callback<void(const password_manager::CredentialInfo&)> callback) 52 base::Callback<void(const password_manager::CredentialInfo&)> callback)
53 override; 53 override;
54 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> 54 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager>
55 saved_form_manager) override; 55 saved_form_manager) override;
56 bool IsOffTheRecord() const override; 56 bool IsOffTheRecord() const override;
57 PrefService* GetPrefs() override; 57 PrefService* GetPrefs() override;
58 password_manager::PasswordStore* GetPasswordStore() const override; 58 password_manager::PasswordStore* GetPasswordStore() const override;
59 void NotifyUserAutoSignin( 59 void NotifyUserAutoSignin(ScopedVector<autofill::PasswordForm> local_forms,
60 ScopedVector<autofill::PasswordForm> local_forms) override; 60 const GURL& origin) override;
61 void NotifyUserCouldBeAutoSignedIn( 61 void NotifyUserCouldBeAutoSignedIn(
62 scoped_ptr<autofill::PasswordForm> form) override; 62 scoped_ptr<autofill::PasswordForm> form) override;
63 void NotifySuccessfulLoginWithExistingPassword( 63 void NotifySuccessfulLoginWithExistingPassword(
64 const autofill::PasswordForm& form) override; 64 const autofill::PasswordForm& form) override;
65 void ForceSavePassword() override; 65 void ForceSavePassword() override;
66 bool IsSavingAndFillingEnabledForCurrentPage() const override; 66 bool IsSavingAndFillingEnabledForCurrentPage() const override;
67 const GURL& GetLastCommittedEntryURL() const override; 67 const GURL& GetLastCommittedEntryURL() const override;
68 const password_manager::CredentialsFilter* GetStoreResultFilter() 68 const password_manager::CredentialsFilter* GetStoreResultFilter()
69 const override; 69 const override;
70 70
71 private: 71 private:
72 id<PasswordManagerClientDelegate> delegate_; // (weak) 72 id<PasswordManagerClientDelegate> delegate_; // (weak)
73 73
74 // The preference associated with 74 // The preference associated with
75 // password_manager::prefs::kPasswordManagerSavingEnabled. 75 // password_manager::prefs::kPasswordManagerSavingEnabled.
76 BooleanPrefMember saving_passwords_enabled_; 76 BooleanPrefMember saving_passwords_enabled_;
77 77
78 const password_manager::SyncCredentialsFilter credentials_filter_; 78 const password_manager::SyncCredentialsFilter credentials_filter_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(IOSChromePasswordManagerClient); 80 DISALLOW_COPY_AND_ASSIGN(IOSChromePasswordManagerClient);
81 }; 81 };
82 82
83 #endif // IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_ 83 #endif // IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698