Lines Matching refs:ExtensionPrefs
193 DictionaryPrefUpdate(service, ExtensionPrefs::kExtensionsPref),
235 ExtensionPrefs::TimeProvider::TimeProvider() {
238 ExtensionPrefs::TimeProvider::~TimeProvider() {
241 base::Time ExtensionPrefs::TimeProvider::GetCurrentTime() const {
249 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::ScopedUpdate(
250 ExtensionPrefs* prefs,
260 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::~ScopedUpdate() {
264 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Get() {
278 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Create() {
298 template class ExtensionPrefs::ScopedUpdate<DictionaryValue,
300 template class ExtensionPrefs::ScopedUpdate<ListValue, Value::TYPE_LIST>;
303 // ExtensionPrefs
307 ExtensionPrefs* ExtensionPrefs::Create(
312 return ExtensionPrefs::Create(prefs,
320 ExtensionPrefs* ExtensionPrefs::Create(
326 scoped_ptr<ExtensionPrefs> prefs(
327 new ExtensionPrefs(pref_service,
335 ExtensionPrefs::~ExtensionPrefs() {
339 ExtensionPrefs* ExtensionPrefs::Get(Profile* profile) {
344 const char ExtensionPrefs::kExtensionsPref[] = "extensions.settings";
346 const char ExtensionPrefs::kExtensionsLastChromeVersion[] =
362 void ExtensionPrefs::MakePathsRelative() {
408 const DictionaryValue* ExtensionPrefs::GetExtensionPref(
419 void ExtensionPrefs::UpdateExtensionPref(const std::string& extension_id,
433 void ExtensionPrefs::DeleteExtensionPrefs(const std::string& extension_id) {
441 bool ExtensionPrefs::ReadPrefAsBoolean(const std::string& extension_id,
451 bool ExtensionPrefs::ReadPrefAsInteger(const std::string& extension_id,
461 bool ExtensionPrefs::ReadPrefAsString(const std::string& extension_id,
471 bool ExtensionPrefs::ReadPrefAsList(const std::string& extension_id,
484 bool ExtensionPrefs::ReadPrefAsDictionary(
498 bool ExtensionPrefs::HasPrefForExtension(
503 bool ExtensionPrefs::ReadPrefAsURLPatternSet(const std::string& extension_id,
515 void ExtensionPrefs::SetExtensionPrefURLPatternSet(
522 bool ExtensionPrefs::ReadPrefAsBooleanAndReturn(
529 PermissionSet* ExtensionPrefs::ReadPrefAsPermissionSet(
561 void ExtensionPrefs::SetExtensionPrefPermissionSet(
604 int ExtensionPrefs::IncrementAcknowledgePromptCount(
614 bool ExtensionPrefs::IsExternalExtensionAcknowledged(
619 void ExtensionPrefs::AcknowledgeExternalExtension(
627 bool ExtensionPrefs::IsBlacklistedExtensionAcknowledged(
632 void ExtensionPrefs::AcknowledgeBlacklistedExtension(
640 bool ExtensionPrefs::IsExternalInstallFirstRun(
645 void ExtensionPrefs::SetExternalInstallFirstRun(
652 bool ExtensionPrefs::SetAlertSystemFirstRun() {
660 bool ExtensionPrefs::ExtensionsBlacklistedByDefault() const {
665 bool ExtensionPrefs::DidExtensionEscalatePermissions(
671 void ExtensionPrefs::SetDidExtensionEscalatePermissions(
677 int ExtensionPrefs::GetDisableReasons(const std::string& extension_id) {
686 void ExtensionPrefs::AddDisableReason(const std::string& extension_id,
694 void ExtensionPrefs::RemoveDisableReason(
707 void ExtensionPrefs::ClearDisableReasons(const std::string& extension_id) {
711 std::set<std::string> ExtensionPrefs::GetBlacklistedExtensions() {
730 void ExtensionPrefs::SetExtensionBlacklisted(const std::string& extension_id,
756 bool ExtensionPrefs::IsExtensionBlacklisted(const std::string& id) const {
790 base::Time ExtensionPrefs::LastPingDay(const std::string& extension_id) const {
795 void ExtensionPrefs::SetLastPingDay(const std::string& extension_id,
802 base::Time ExtensionPrefs::BlacklistLastPingDay() const {
807 void ExtensionPrefs::SetBlacklistLastPingDay(const base::Time& time) {
812 base::Time ExtensionPrefs::LastActivePingDay(const std::string& extension_id) {
817 void ExtensionPrefs::SetLastActivePingDay(const std::string& extension_id,
824 bool ExtensionPrefs::GetActiveBit(const std::string& extension_id) {
832 void ExtensionPrefs::SetActiveBit(const std::string& extension_id,
838 void ExtensionPrefs::MigratePermissions(const ExtensionIdList& extension_ids) {
892 void ExtensionPrefs::MigrateDisableReasons(
919 PermissionSet* ExtensionPrefs::GetGrantedPermissions(
925 void ExtensionPrefs::AddGrantedPermissions(
943 void ExtensionPrefs::RemoveGrantedPermissions(
961 PermissionSet* ExtensionPrefs::GetActivePermissions(
967 void ExtensionPrefs::SetActivePermissions(
974 void ExtensionPrefs::SetExtensionRunning(const std::string& extension_id,
980 bool ExtensionPrefs::IsExtensionRunning(const std::string& extension_id) {
989 void ExtensionPrefs::SetIsActive(const std::string& extension_id,
995 bool ExtensionPrefs::IsActive(const std::string& extension_id) {
1004 bool ExtensionPrefs::IsIncognitoEnabled(const std::string& extension_id) {
1008 void ExtensionPrefs::SetIsIncognitoEnabled(const std::string& extension_id,
1014 bool ExtensionPrefs::AllowFileAccess(const std::string& extension_id) {
1018 void ExtensionPrefs::SetAllowFileAccess(const std::string& extension_id,
1024 bool ExtensionPrefs::HasAllowFileAccessSetting(
1030 ExtensionPrefs::LaunchType ExtensionPrefs::GetLaunchType(
1032 ExtensionPrefs::LaunchType default_pref_value) {
1067 extension_misc::LaunchContainer ExtensionPrefs::GetLaunchContainer(
1069 ExtensionPrefs::LaunchType default_pref_value) {
1087 ExtensionPrefs::LaunchType prefs_launch_type =
1090 if (prefs_launch_type == ExtensionPrefs::LAUNCH_WINDOW) {
1095 } else if (prefs_launch_type == ExtensionPrefs::LAUNCH_FULLSCREEN &&
1124 void ExtensionPrefs::SetLaunchType(const std::string& extension_id,
1130 bool ExtensionPrefs::DoesExtensionHaveState(
1145 bool ExtensionPrefs::IsExternalExtensionUninstalled(
1150 bool ExtensionPrefs::IsExtensionDisabled(
1155 ExtensionIdList ExtensionPrefs::GetToolbarOrder() {
1159 void ExtensionPrefs::SetToolbarOrder(const ExtensionIdList& extension_ids) {
1163 void ExtensionPrefs::OnExtensionInstalled(
1178 void ExtensionPrefs::OnExtensionUninstalled(const std::string& extension_id,
1198 void ExtensionPrefs::SetExtensionState(const std::string& extension_id,
1207 std::string ExtensionPrefs::GetVersionString(const std::string& extension_id) {
1218 void ExtensionPrefs::UpdateManifest(const Extension* extension) {
1235 base::FilePath ExtensionPrefs::GetExtensionPath(
1249 scoped_ptr<ExtensionInfo> ExtensionPrefs::GetInstalledInfoHelper(
1288 scoped_ptr<ExtensionInfo> ExtensionPrefs::GetInstalledExtensionInfo(
1311 scoped_ptr<ExtensionPrefs::ExtensionsInfo>
1312 ExtensionPrefs::GetInstalledExtensionsInfo() const {
1330 void ExtensionPrefs::SetDelayedInstallInfo(
1355 bool ExtensionPrefs::RemoveDelayedInstallInfo(
1364 bool ExtensionPrefs::FinishDelayedInstallInfo(
1404 scoped_ptr<ExtensionInfo> ExtensionPrefs::GetDelayedInstallInfo(
1418 ExtensionPrefs::DelayReason ExtensionPrefs::GetDelayedInstallReason(
1436 scoped_ptr<ExtensionPrefs::ExtensionsInfo> ExtensionPrefs::
1454 bool ExtensionPrefs::WasAppDraggedByUser(const std::string& extension_id) {
1458 void ExtensionPrefs::SetAppDraggedByUser(const std::string& extension_id) {
1463 bool ExtensionPrefs::IsFromWebStore(
1472 bool ExtensionPrefs::IsFromBookmark(
1481 int ExtensionPrefs::GetCreationFlags(const std::string& extension_id) const {
1496 int ExtensionPrefs::GetDelayedInstallCreationFlags(
1506 bool ExtensionPrefs::WasInstalledByDefault(
1516 base::Time ExtensionPrefs::GetInstallTime(
1532 void ExtensionPrefs::GetExtensions(ExtensionIdList* out) {
1544 ExtensionIdList ExtensionPrefs::GetExtensionsFrom(
1569 void ExtensionPrefs::FixMissingPrefs(const ExtensionIdList& extension_ids) {
1588 void ExtensionPrefs::InitPrefStore() {
1617 bool ExtensionPrefs::HasIncognitoPrefValue(const std::string& pref_key) {
1625 URLPatternSet ExtensionPrefs::GetAllowedInstallSites() {
1646 const DictionaryValue* ExtensionPrefs::GetGeometryCache(
1659 void ExtensionPrefs::SetGeometryCache(
1665 ExtensionPrefs::ExtensionPrefs(
1682 void ExtensionPrefs::SetNeedsStorageGarbageCollection(bool value) {
1686 bool ExtensionPrefs::NeedsStorageGarbageCollection() {
1691 void ExtensionPrefs::RegisterProfilePrefs(
1744 ExtensionIdList ExtensionPrefs::GetExtensionPrefAsVector(
1759 void ExtensionPrefs::SetExtensionPrefFromVector(
1770 void ExtensionPrefs::PopulateExtensionInfoPrefs(
1810 void ExtensionPrefs::FinishExtensionInfoPrefs(