OLD | NEW |
(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_CONTENT_PASSWORD_MANAGER_DRIVER_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/password_manager/password_manager_driver.h" |
| 11 |
| 12 namespace content { |
| 13 class WebContents; |
| 14 } |
| 15 |
| 16 class ContentPasswordManagerDriver : public PasswordManagerDriver { |
| 17 public: |
| 18 explicit ContentPasswordManagerDriver(content::WebContents* web_contents); |
| 19 virtual ~ContentPasswordManagerDriver(); |
| 20 |
| 21 // PasswordManagerDriver implementation. |
| 22 virtual void FillPasswordForm( |
| 23 const autofill::PasswordFormFillData& form_data) OVERRIDE; |
| 24 virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE; |
| 25 |
| 26 private: |
| 27 content::WebContents* web_contents_; |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
| 30 }; |
| 31 |
| 32 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_ |
OLD | NEW |