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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 2721663002: Move Credentials when migrating to HSTS page (Closed)
Patch Set: More Explanation Created 3 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 | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 public content::WebContentsObserver, 41 public content::WebContentsObserver,
42 public content::WebContentsUserData<ChromePasswordManagerClient>, 42 public content::WebContentsUserData<ChromePasswordManagerClient>,
43 public autofill::mojom::PasswordManagerClient, 43 public autofill::mojom::PasswordManagerClient,
44 public content::RenderWidgetHost::InputEventObserver { 44 public content::RenderWidgetHost::InputEventObserver {
45 public: 45 public:
46 ~ChromePasswordManagerClient() override; 46 ~ChromePasswordManagerClient() override;
47 47
48 // PasswordManagerClient implementation. 48 // PasswordManagerClient implementation.
49 bool IsSavingAndFillingEnabledForCurrentPage() const override; 49 bool IsSavingAndFillingEnabledForCurrentPage() const override;
50 bool IsFillingEnabledForCurrentPage() const override; 50 bool IsFillingEnabledForCurrentPage() const override;
51 bool IsHSTSActiveForHost(const GURL& origin) const override; 51 void PostHSTSQueryForHost(const GURL& origin,
52 const HSTSCallback& callback) const override;
52 bool OnCredentialManagerUsed() override; 53 bool OnCredentialManagerUsed() override;
53 bool PromptUserToSaveOrUpdatePassword( 54 bool PromptUserToSaveOrUpdatePassword(
54 std::unique_ptr<password_manager::PasswordFormManager> form_to_save, 55 std::unique_ptr<password_manager::PasswordFormManager> form_to_save,
55 bool update_password) override; 56 bool update_password) override;
56 bool PromptUserToChooseCredentials( 57 bool PromptUserToChooseCredentials(
57 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms, 58 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms,
58 const GURL& origin, 59 const GURL& origin,
59 const CredentialsCallback& callback) override; 60 const CredentialsCallback& callback) override;
60 void ForceSavePassword() override; 61 void ForceSavePassword() override;
61 void GeneratePassword() override; 62 void GeneratePassword() override;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 std::unique_ptr<password_manager::LogManager> log_manager_; 200 std::unique_ptr<password_manager::LogManager> log_manager_;
200 201
201 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the 202 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the
202 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. 203 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'.
203 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; 204 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_;
204 205
205 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 206 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
206 }; 207 };
207 208
208 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 209 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698