blob: c76e8cb6b5849989e7a2db82ccc0610c518f83ce [file] [log] [blame] [edit]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PERMISSIONS_PREF_NAMES_H_
#define COMPONENTS_PERMISSIONS_PREF_NAMES_H_
#include "build/build_config.h"
namespace user_prefs {
class PrefRegistrySyncable;
}
namespace permissions {
namespace prefs {
extern const char kPermissionActions[];
#if BUILDFLAG(IS_ANDROID)
extern const char kLocationSettingsBackoffLevelDSE[];
extern const char kLocationSettingsBackoffLevelDefault[];
extern const char kLocationSettingsNextShowDSE[];
extern const char kLocationSettingsNextShowDefault[];
#endif
extern const char kOneTimePermissionPromptsDecidedCount[];
} // namespace prefs
// Registers user preferences related to permissions.
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
} // namespace permissions
#endif // COMPONENTS_PERMISSIONS_PREF_NAMES_H_