#include "chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h"
#include <utility>
#include <vector>
#include "base/auto_reset.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h"
#include "chrome/browser/extensions/api/passwords_private/passwords_private_delegate_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/api/passwords_private.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/extension_event_histogram_value.h"
#include "url/gurl.h"
namespace extensions {
PasswordsPrivateEventRouter::PasswordsPrivateEventRouter(
content::BrowserContext* context)
: … { … }
PasswordsPrivateEventRouter::~PasswordsPrivateEventRouter() { … }
void PasswordsPrivateEventRouter::OnSavedPasswordsListChanged(
const std::vector<api::passwords_private::PasswordUiEntry>& entries) { … }
void PasswordsPrivateEventRouter::SendSavedPasswordListToListeners() { … }
void PasswordsPrivateEventRouter::OnPasswordExceptionsListChanged(
const std::vector<api::passwords_private::ExceptionEntry>& exceptions) { … }
void PasswordsPrivateEventRouter::SendPasswordExceptionListToListeners() { … }
void PasswordsPrivateEventRouter::OnPasswordsExportProgress(
api::passwords_private::ExportProgressStatus status,
const std::string& file_path,
const std::string& folder_name) { … }
void PasswordsPrivateEventRouter::OnAccountStorageOptInStateChanged(
bool opted_in) { … }
void PasswordsPrivateEventRouter::OnInsecureCredentialsChanged(
std::vector<api::passwords_private::PasswordUiEntry> insecure_credentials) { … }
void PasswordsPrivateEventRouter::OnPasswordCheckStatusChanged(
const api::passwords_private::PasswordCheckStatus& status) { … }
void PasswordsPrivateEventRouter::OnPasswordManagerAuthTimeout() { … }
}