#include "chrome/browser/extensions/api/passwords_private/passwords_private_delegate_factory.h"
#include "base/memory/scoped_refptr.h"
#include "base/no_destructor.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.h"
#include "chrome/browser/extensions/api/passwords_private/passwords_private_event_router_factory.h"
#include "chrome/browser/password_manager/account_password_store_factory.h"
#include "chrome/browser/password_manager/bulk_leak_check_service_factory.h"
#include "chrome/browser/password_manager/profile_password_store_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/password_manager/core/common/password_manager_features.h"
#include "extensions/browser/extension_system_provider.h"
namespace extensions {
BrowserContext;
PasswordsPrivateDelegateProxy::PasswordsPrivateDelegateProxy(
BrowserContext* browser_context)
: … { … }
PasswordsPrivateDelegateProxy::PasswordsPrivateDelegateProxy(
BrowserContext* browser_context,
scoped_refptr<PasswordsPrivateDelegate> delegate)
: … { … }
PasswordsPrivateDelegateProxy::~PasswordsPrivateDelegateProxy() = default;
void PasswordsPrivateDelegateProxy::Shutdown() { … }
scoped_refptr<PasswordsPrivateDelegate>
PasswordsPrivateDelegateProxy::GetOrCreateDelegate() { … }
scoped_refptr<PasswordsPrivateDelegate>
PasswordsPrivateDelegateProxy::GetDelegate() { … }
scoped_refptr<PasswordsPrivateDelegate>
PasswordsPrivateDelegateFactory::GetForBrowserContext(
BrowserContext* browser_context,
bool create) { … }
PasswordsPrivateDelegateFactory*
PasswordsPrivateDelegateFactory::GetInstance() { … }
PasswordsPrivateDelegateFactory::PasswordsPrivateDelegateFactory()
: … { … }
PasswordsPrivateDelegateFactory::~PasswordsPrivateDelegateFactory() = default;
std::unique_ptr<KeyedService>
PasswordsPrivateDelegateFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const { … }
}