blob: be53c5d9d3fe252016769e03efb21c196780dc37 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/accessibility/tree_fixing/pref_names.h"
#include "base/check.h"
#include "chrome/browser/profiles/profile.h"
#include "components/prefs/pref_service.h"
namespace tree_fixing {
void InitOffTheRecordPrefs(Profile* off_the_record_profile) {
DCHECK(off_the_record_profile->IsOffTheRecord());
off_the_record_profile->GetPrefs()->SetBoolean(
prefs::kAccessibilityAXTreeFixingEnabled, false);
}
} // namespace tree_fixing