| Index: chrome/browser/protector/protected_prefs_watcher.h
|
| diff --git a/chrome/browser/protector/protected_prefs_watcher.h b/chrome/browser/protector/protected_prefs_watcher.h
|
| index e020170d73a71d908a8f02632fc369ec1bef63a1..979ca44c066d37e60bcda04130061b613442ca6c 100644
|
| --- a/chrome/browser/protector/protected_prefs_watcher.h
|
| +++ b/chrome/browser/protector/protected_prefs_watcher.h
|
| @@ -42,8 +42,9 @@ class ProtectedPrefsWatcher : public content::NotificationObserver {
|
| // instance is owned by the PrefService.
|
| const base::Value* GetBackupForPref(const std::string& path) const;
|
|
|
| - // Updates the backup signature.
|
| - void UpdateBackupSignature();
|
| + // Forces a valid backup, matching actual preferences (overwriting any
|
| + // previous data). Should only be when protector service is disabled.
|
| + void ForceUpdateBackup();
|
|
|
| // True if the backup was valid at the profile load time.
|
| bool is_backup_valid() { return is_backup_valid_; }
|
| @@ -84,6 +85,9 @@ class ProtectedPrefsWatcher : public content::NotificationObserver {
|
| // Returns |true| if backup signature is valid.
|
| bool IsSignatureValid() const;
|
|
|
| + // Updates the backup signature.
|
| + void UpdateBackupSignature();
|
| +
|
| // Returns data to be signed as string.
|
| std::string GetSignatureData(PrefService* prefs) const;
|
|
|
|
|