#include "chrome/browser/dips/dips_browser_signin_detector.h"
#include <cstddef>
#include "base/check.h"
#include "base/files/file_util.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
#include "chrome/browser/dips/dips_service.h"
#include "chrome/browser/profiles/profile.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "content/public/browser/browser_context.h"
const char kIdentityProviderDomain[] = …;
DIPSBrowserSigninDetector::DIPSBrowserSigninDetector(
DIPSService* dips_service,
signin::IdentityManager* identity_manager)
: … { … }
DIPSBrowserSigninDetector::~DIPSBrowserSigninDetector() = default;
bool IsInfoRelevant(const AccountInfo& info) { … }
void DIPSBrowserSigninDetector::RecordInteractionsIfRelevant(
const AccountInfo& info) { … }
void DIPSBrowserSigninDetector::OnExtendedAccountInfoUpdated(
const AccountInfo& info) { … }