summaryrefslogtreecommitdiffstats
path: root/chrome/browser/password_manager_delegate_impl.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-01-07 14:18:56 +0000
committerBen Murdoch <benm@google.com>2011-01-11 10:23:13 +0000
commit201ade2fbba22bfb27ae029f4d23fca6ded109a0 (patch)
treeb793f4ed916f73cf18357ea467ff3deb5ffb5b52 /chrome/browser/password_manager_delegate_impl.h
parentd8c4c37a7d0961944bfdfaa117d5c68c8e129c97 (diff)
downloadexternal_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.zip
external_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.tar.gz
external_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.tar.bz2
Merge chromium at 9.0.597.55: Initial merge by git.
Change-Id: Id686a88437441ec7e17abb3328a404c7b6c3c6ad
Diffstat (limited to 'chrome/browser/password_manager_delegate_impl.h')
-rw-r--r--chrome/browser/password_manager_delegate_impl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/chrome/browser/password_manager_delegate_impl.h b/chrome/browser/password_manager_delegate_impl.h
new file mode 100644
index 0000000..d7a0650
--- /dev/null
+++ b/chrome/browser/password_manager_delegate_impl.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2010 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_DELEGATE_IMPL_H_
+#define CHROME_BROWSER_PASSWORD_MANAGER_DELEGATE_IMPL_H_
+
+#include "base/basictypes.h"
+#include "chrome/browser/password_manager/password_manager_delegate.h"
+
+class TabContents;
+
+class PasswordManagerDelegateImpl : public PasswordManagerDelegate {
+ public:
+ explicit PasswordManagerDelegateImpl(TabContents* contents)
+ : tab_contents_(contents) { }
+
+ // PasswordManagerDelegate implementation.
+ virtual void FillPasswordForm(
+ const webkit_glue::PasswordFormFillData& form_data);
+ virtual void AddSavePasswordInfoBar(PasswordFormManager* form_to_save);
+ virtual Profile* GetProfileForPasswordManager();
+ virtual bool DidLastPageLoadEncounterSSLErrors();
+ private:
+ TabContents* tab_contents_;
+ DISALLOW_COPY_AND_ASSIGN(PasswordManagerDelegateImpl);
+};
+
+#endif // CHROME_BROWSER_PASSWORD_MANAGER_DELEGATE_IMPL_H_