#include "chrome/browser/ui/webui/password_manager/sync_handler.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "chrome/browser/sync/sync_ui_util.h"
#include "components/password_manager/core/browser/features/password_manager_features_util.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_service_utils.h"
#include "components/sync/service/sync_user_settings.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/webui/web_ui_util.h"
namespace password_manager {
ShouldShowAccountStorageSettingToggle;
SyncHandler::SyncHandler(Profile* profile) : … { … }
SyncHandler::~SyncHandler() = default;
void SyncHandler::RegisterMessages() { … }
void SyncHandler::OnJavascriptAllowed() { … }
void SyncHandler::OnJavascriptDisallowed() { … }
base::Value SyncHandler::GetTrustedVaultBannerState() const { … }
void SyncHandler::HandleGetTrustedVaultBannerState(
const base::Value::List& args) { … }
base::Value::Dict SyncHandler::GetSyncInfo() const { … }
void SyncHandler::HandleGetSyncInfo(const base::Value::List& args) { … }
base::Value::Dict SyncHandler::GetAccountInfo() const { … }
void SyncHandler::HandleGetAccountInfo(const base::Value::List& args) { … }
void SyncHandler::OnStateChanged(syncer::SyncService* sync_service) { … }
void SyncHandler::OnExtendedAccountInfoUpdated(const AccountInfo& info) { … }
void SyncHandler::OnExtendedAccountInfoRemoved(const AccountInfo& info) { … }
syncer::SyncService* SyncHandler::GetSyncService() const { … }
}