#include "chrome/browser/ui/webui/tab_search/tab_search_sync_handler.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/signin/signin_error_controller_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/sync/service/sync_service.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/webui/web_ui_util.h"
TabSearchSyncHandler::TabSearchSyncHandler(Profile* profile)
: … { … }
TabSearchSyncHandler::~TabSearchSyncHandler() = default;
void TabSearchSyncHandler::RegisterMessages() { … }
void TabSearchSyncHandler::OnJavascriptAllowed() { … }
void TabSearchSyncHandler::OnJavascriptDisallowed() { … }
bool TabSearchSyncHandler::GetSignInState() const { … }
void TabSearchSyncHandler::HandleGetSignInState(const base::Value::List& args) { … }
void TabSearchSyncHandler::OnStateChanged(syncer::SyncService* sync_service) { … }
void TabSearchSyncHandler::OnSyncShutdown(syncer::SyncService* sync_service) { … }
void TabSearchSyncHandler::OnExtendedAccountInfoUpdated(
const AccountInfo& info) { … }
void TabSearchSyncHandler::OnExtendedAccountInfoRemoved(
const AccountInfo& info) { … }
syncer::SyncService* TabSearchSyncHandler::GetSyncService() const { … }