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

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

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mem leak Created 6 years 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 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 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 16 matching lines...) Expand all
27 // (i.e., obtain information from it and give information to it). 27 // (i.e., obtain information from it and give information to it).
28 class PasswordManagerDriver { 28 class PasswordManagerDriver {
29 public: 29 public:
30 PasswordManagerDriver() {} 30 PasswordManagerDriver() {}
31 virtual ~PasswordManagerDriver() {} 31 virtual ~PasswordManagerDriver() {}
32 32
33 // Fills forms matching |form_data|. 33 // Fills forms matching |form_data|.
34 virtual void FillPasswordForm( 34 virtual void FillPasswordForm(
35 const autofill::PasswordFormFillData& form_data) = 0; 35 const autofill::PasswordFormFillData& form_data) = 0;
36 36
37 // Returns whether any SSL certificate errors were encountered as a result of
38 // the last page load.
39 virtual bool DidLastPageLoadEncounterSSLErrors() = 0;
40
41 // If this browsing session should not be persisted.
42 virtual bool IsOffTheRecord() = 0;
43
44 // Informs the driver that |form| can be used for password generation. 37 // Informs the driver that |form| can be used for password generation.
45 virtual void AllowPasswordGenerationForForm( 38 virtual void AllowPasswordGenerationForForm(
46 const autofill::PasswordForm& form) = 0; 39 const autofill::PasswordForm& form) = 0;
47 40
48 // Notifies the driver that account creation |forms| were found. 41 // Notifies the driver that account creation |forms| were found.
49 virtual void AccountCreationFormsFound( 42 virtual void AccountCreationFormsFound(
50 const std::vector<autofill::FormData>& forms) = 0; 43 const std::vector<autofill::FormData>& forms) = 0;
51 44
52 // Tells the driver to fill the form with the |username| and |password|. 45 // Tells the driver to fill the form with the |username| and |password|.
53 virtual void FillSuggestion(const base::string16& username, 46 virtual void FillSuggestion(const base::string16& username,
(...skipping 19 matching lines...) Expand all
73 // Returns the AutofillManager associated with this instance. 66 // Returns the AutofillManager associated with this instance.
74 virtual autofill::AutofillManager* GetAutofillManager() = 0; 67 virtual autofill::AutofillManager* GetAutofillManager() = 0;
75 68
76 private: 69 private:
77 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver); 70 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
78 }; 71 };
79 72
80 } // namespace password_manager 73 } // namespace password_manager
81 74
82 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_ 75 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698