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

Side by Side Diff: components/password_manager/core/browser/password_manager_driver.h

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 class PasswordGenerationManager; 10 class PasswordGenerationManager;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Returns the AutofillManager associated with this instance. 44 // Returns the AutofillManager associated with this instance.
45 virtual autofill::AutofillManager* GetAutofillManager() = 0; 45 virtual autofill::AutofillManager* GetAutofillManager() = 0;
46 46
47 // Informs the driver that |form| can be used for password generation. 47 // Informs the driver that |form| can be used for password generation.
48 virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form) = 0; 48 virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form) = 0;
49 49
50 // Notifies the driver that account creation |forms| were found. 50 // Notifies the driver that account creation |forms| were found.
51 virtual void AccountCreationFormsFound( 51 virtual void AccountCreationFormsFound(
52 const std::vector<autofill::FormData>& forms) = 0; 52 const std::vector<autofill::FormData>& forms) = 0;
53 53
54 // Tells the renderer to accept the password autofill suggestion for
55 // |username|.
56 virtual void RendererShouldAcceptPasswordAutofillSuggestion(
57 const base::string16& username,
58 const base::string16& password) = 0;
59
54 private: 60 private:
55 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver); 61 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
56 }; 62 };
57 63
58 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_ 64 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698