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

Side by Side Diff: chrome/browser/password_manager/content_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 CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/password_manager/core/browser/password_generation_manager.h " 10 #include "components/password_manager/core/browser/password_generation_manager.h "
(...skipping 23 matching lines...) Expand all
34 virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form) 34 virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form)
35 OVERRIDE; 35 OVERRIDE;
36 virtual void AccountCreationFormsFound( 36 virtual void AccountCreationFormsFound(
37 const std::vector<autofill::FormData>& forms) OVERRIDE; 37 const std::vector<autofill::FormData>& forms) OVERRIDE;
38 virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE; 38 virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE;
39 virtual bool IsOffTheRecord() OVERRIDE; 39 virtual bool IsOffTheRecord() OVERRIDE;
40 virtual PasswordGenerationManager* GetPasswordGenerationManager() OVERRIDE; 40 virtual PasswordGenerationManager* GetPasswordGenerationManager() OVERRIDE;
41 virtual PasswordManager* GetPasswordManager() OVERRIDE; 41 virtual PasswordManager* GetPasswordManager() OVERRIDE;
42 virtual autofill::AutofillManager* GetAutofillManager() OVERRIDE; 42 virtual autofill::AutofillManager* GetAutofillManager() OVERRIDE;
43 43
44 virtual void RendererShouldAcceptPasswordAutofillSuggestion(
45 const base::string16& username,
46 const base::string16& password) OVERRIDE;
47
44 // content::WebContentsObserver overrides. 48 // content::WebContentsObserver overrides.
45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 49 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
46 virtual void DidNavigateMainFrame( 50 virtual void DidNavigateMainFrame(
47 const content::LoadCommittedDetails& details, 51 const content::LoadCommittedDetails& details,
48 const content::FrameNavigateParams& params) OVERRIDE; 52 const content::FrameNavigateParams& params) OVERRIDE;
49 53
50 private: 54 private:
51 PasswordManager password_manager_; 55 PasswordManager password_manager_;
52 PasswordGenerationManager password_generation_manager_; 56 PasswordGenerationManager password_generation_manager_;
53 57
54 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 58 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
55 }; 59 };
56 60
57 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_ 61 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698