| Index: components/safe_browsing/password_protection/password_protection_service.h
|
| diff --git a/components/safe_browsing/password_protection/password_protection_service.h b/components/safe_browsing/password_protection/password_protection_service.h
|
| index 10036f455c30b8d609be1117c0e9d5c7f3a9edf7..46d086d2f11ef7bf6b405e8b93ab272ac7adc67b 100644
|
| --- a/components/safe_browsing/password_protection/password_protection_service.h
|
| +++ b/components/safe_browsing/password_protection/password_protection_service.h
|
| @@ -50,6 +50,9 @@ extern const char kPasswordEntryRequestOutcomeHistogramName[];
|
| class PasswordProtectionService : public history::HistoryServiceObserver {
|
| public:
|
| using TriggerType = LoginReputationClientRequest::TriggerType;
|
| + using SyncAccountType =
|
| + LoginReputationClientRequest::PasswordReuseEvent::SyncAccountType;
|
| +
|
| // The outcome of the request. These values are used for UMA.
|
| // DO NOT CHANGE THE ORDERING OF THESE VALUES.
|
| enum RequestOutcome {
|
| @@ -192,6 +195,10 @@ class PasswordProtectionService : public history::HistoryServiceObserver {
|
| const std::string& token,
|
| content::WebContents* web_contents) = 0;
|
|
|
| + // Gets the type of sync account associated with current profile or
|
| + // |NOT_SIGNED_IN|.
|
| + virtual SyncAccountType GetSyncAccountType() = 0;
|
| +
|
| void CheckCsdWhitelistOnIOThread(const GURL& url, bool* check_result);
|
|
|
| HostContentSettingsMap* content_settings() const { return content_settings_; }
|
|
|