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

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

Issue 152643002: Create PasswordManagerDriver and ContentPasswordManagerDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 6 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
7
8 namespace autofill {
9 struct PasswordFormFillData;
10 } // namespace autofill
11
12 // Interface that allows PasswordManager core code to interact with its driver
13 // (i.e., obtain information from it and give information to it).
14 class PasswordManagerDriver {
15 public:
16 PasswordManagerDriver() {}
17 virtual ~PasswordManagerDriver() {}
18
19 // Fills forms matching |form_data|.
20 virtual void FillPasswordForm(
21 const autofill::PasswordFormFillData& form_data) = 0;
22
23 // Returns whether any SSL certificate errors were encountered as a result of
24 // the last page load.
25 virtual bool DidLastPageLoadEncounterSSLErrors() = 0;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
29 };
30
31
32 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager_delegate_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698