#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_MODEL_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_MODEL_H_
#include "base/strings/string16.h"
class LoginModelObserver {
public:
virtual void OnAutofillDataAvailable(const base::string16& username,
const base::string16& password) = 0;
virtual void OnLoginModelDestroying() = 0;
protected:
virtual ~LoginModelObserver() {}
};
class LoginModel {
public:
virtual void AddObserver(LoginModelObserver* observer) = 0;
virtual void RemoveObserver(LoginModelObserver* observer) = 0;
protected:
virtual ~LoginModel() {}
};
#endif