#ifndef CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_INTERNALS_PASSWORD_MANAGER_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_INTERNALS_PASSWORD_MANAGER_INTERNALS_UI_H_
#include "components/password_manager/core/browser/password_manager_logger.h"
#include "content/public/browser/web_ui_controller.h"
class PasswordManagerInternalsUI : public content::WebUIController,
public PasswordManagerLogger {
public:
explicit PasswordManagerInternalsUI(content::WebUI* web_ui);
virtual ~PasswordManagerInternalsUI();
virtual void LogSavePasswordProgress(const std::string& text) OVERRIDE;
private:
enum ClientNotificationType {
PAGE_OPENED,
PAGE_CLOSED
};
void NotifyAllPasswordManagerClients(
ClientNotificationType notification_type);
DISALLOW_COPY_AND_ASSIGN(PasswordManagerInternalsUI);
};
#endif