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

Unified Diff: chrome/browser/password_manager/content_password_manager_driver.h

Issue 192633002: Move ContentAutofillDriver to the PasswordManager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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
deleted file mode 100644
index 875672b364f8f709441b0f180c799b4d2bf2b7a3..0000000000000000000000000000000000000000
--- a/chrome/browser/password_manager/content_password_manager_driver.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// 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 "components/password_manager/core/browser/password_generation_manager.h"
-#include "components/password_manager/core/browser/password_manager.h"
-#include "components/password_manager/core/browser/password_manager_driver.h"
-#include "content/public/browser/web_contents_observer.h"
-
-namespace autofill {
-class AutofillManager;
-struct PasswordForm;
-}
-
-namespace content {
-class WebContents;
-}
-
-class ContentPasswordManagerDriver : public PasswordManagerDriver,
- public content::WebContentsObserver {
- public:
- ContentPasswordManagerDriver(content::WebContents* web_contents,
- PasswordManagerClient* client);
- virtual ~ContentPasswordManagerDriver();
-
- // PasswordManagerDriver implementation.
- virtual void FillPasswordForm(const autofill::PasswordFormFillData& form_data)
- OVERRIDE;
- virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form)
- OVERRIDE;
- virtual void AccountCreationFormsFound(
- const std::vector<autofill::FormData>& forms) OVERRIDE;
- virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE;
- virtual bool IsOffTheRecord() OVERRIDE;
- virtual PasswordGenerationManager* GetPasswordGenerationManager() OVERRIDE;
- virtual PasswordManager* GetPasswordManager() OVERRIDE;
- virtual autofill::AutofillManager* GetAutofillManager() OVERRIDE;
-
- // content::WebContentsObserver overrides.
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- virtual void DidNavigateMainFrame(
- const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) OVERRIDE;
-
- private:
- PasswordManager password_manager_;
- PasswordGenerationManager password_generation_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
-};
-
-#endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_

Powered by Google App Engine
This is Rietveld 408576698