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

Unified Diff: chrome/browser/password_manager/content_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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/password_manager/content_password_manager_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/content_password_manager_driver.h
diff --git a/chrome/browser/password_manager/content_password_manager_driver.h b/chrome/browser/password_manager/content_password_manager_driver.h
new file mode 100644
index 0000000000000000000000000000000000000000..8ad20df573874ebe2e3a5390c3573ca31fbd06bb
--- /dev/null
+++ b/chrome/browser/password_manager/content_password_manager_driver.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
+#define CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "chrome/browser/password_manager/password_manager_driver.h"
+
+namespace content {
+class WebContents;
+}
+
+class ContentPasswordManagerDriver : public PasswordManagerDriver {
+ public:
+ explicit ContentPasswordManagerDriver(content::WebContents* web_contents);
+ virtual ~ContentPasswordManagerDriver();
+
+ // PasswordManagerDriver implementation.
+ virtual void FillPasswordForm(
+ const autofill::PasswordFormFillData& form_data) OVERRIDE;
+ virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE;
+
+ private:
+ content::WebContents* web_contents_;
+
+ DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
+};
+
+#endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
« no previous file with comments | « no previous file | chrome/browser/password_manager/content_password_manager_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698