Lines Matching refs:ExtensionPrefs
121 DictionaryPrefUpdate(service, ExtensionPrefs::kExtensionsPref),
146 DictionaryPrefUpdate(service, ExtensionPrefs::kExtensionsPref),
174 prefs->GetDictionary(ExtensionPrefs::kExtensionsPref);
209 DictionaryPrefUpdate update(prefs, ExtensionPrefs::kExtensionsPref);
241 ExtensionPrefs::ExtensionPrefs(
256 ExtensionPrefs::~ExtensionPrefs() {}
259 const char ExtensionPrefs::kExtensionsPref[] = "extensions.settings";
274 void ExtensionPrefs::MakePathsRelative() {
318 void ExtensionPrefs::MakePathsAbsolute(DictionaryValue* dict) {
347 DictionaryValue* ExtensionPrefs::CopyCurrentExtensions() {
357 bool ExtensionPrefs::ReadBooleanFromPref(
366 bool ExtensionPrefs::ReadExtensionPrefBoolean(
376 bool ExtensionPrefs::ReadIntegerFromPref(
384 bool ExtensionPrefs::ReadExtensionPrefInteger(
395 bool ExtensionPrefs::ReadExtensionPrefList(
407 bool ExtensionPrefs::ReadExtensionPrefStringSet(
427 void ExtensionPrefs::AddToExtensionPrefStringSet(
448 void ExtensionPrefs::SavePrefs() {
452 bool ExtensionPrefs::IsBlacklistBitSet(DictionaryValue* ext) {
456 bool ExtensionPrefs::IsExtensionBlacklisted(const std::string& extension_id) {
460 bool ExtensionPrefs::IsExtensionAllowedByPolicy(
500 bool ExtensionPrefs::DidExtensionEscalatePermissions(
506 void ExtensionPrefs::SetDidExtensionEscalatePermissions(
513 void ExtensionPrefs::UpdateBlacklist(
595 Time ExtensionPrefs::LastPingDay(const std::string& extension_id) const {
600 void ExtensionPrefs::SetLastPingDay(const std::string& extension_id,
607 Time ExtensionPrefs::BlacklistLastPingDay() const {
612 void ExtensionPrefs::SetBlacklistLastPingDay(const Time& time) {
617 Time ExtensionPrefs::LastActivePingDay(const std::string& extension_id) {
622 void ExtensionPrefs::SetLastActivePingDay(const std::string& extension_id,
629 bool ExtensionPrefs::GetActiveBit(const std::string& extension_id) {
637 void ExtensionPrefs::SetActiveBit(const std::string& extension_id,
643 bool ExtensionPrefs::GetGrantedPermissions(
688 void ExtensionPrefs::AddGrantedPermissions(
714 bool ExtensionPrefs::IsIncognitoEnabled(const std::string& extension_id) {
718 void ExtensionPrefs::SetIsIncognitoEnabled(const std::string& extension_id,
725 bool ExtensionPrefs::AllowFileAccess(const std::string& extension_id) {
729 void ExtensionPrefs::SetAllowFileAccess(const std::string& extension_id,
736 bool ExtensionPrefs::HasAllowFileAccessSetting(
742 ExtensionPrefs::LaunchType ExtensionPrefs::GetLaunchType(
744 ExtensionPrefs::LaunchType default_pref_value) {
768 extension_misc::LaunchContainer ExtensionPrefs::GetLaunchContainer(
770 ExtensionPrefs::LaunchType default_pref_value) {
789 ExtensionPrefs::LaunchType prefs_launch_type =
792 if (prefs_launch_type == ExtensionPrefs::LAUNCH_WINDOW) {
818 void ExtensionPrefs::SetLaunchType(const std::string& extension_id,
825 bool ExtensionPrefs::IsExternalExtensionUninstalled(
835 std::vector<std::string> ExtensionPrefs::GetToolbarOrder() {
836 ExtensionPrefs::ExtensionIdSet extension_ids;
848 void ExtensionPrefs::SetToolbarOrder(
860 void ExtensionPrefs::OnExtensionInstalled(
894 void ExtensionPrefs::OnExtensionUninstalled(const std::string& extension_id,
912 Extension::State ExtensionPrefs::GetExtensionState(
930 void ExtensionPrefs::SetExtensionState(const Extension* extension,
940 bool ExtensionPrefs::GetBrowserActionVisibility(const Extension* extension) {
951 void ExtensionPrefs::SetBrowserActionVisibility(const Extension* extension,
962 Source<ExtensionPrefs>(this),
966 std::string ExtensionPrefs::GetVersionString(const std::string& extension_id) {
980 void ExtensionPrefs::UpdateManifest(const Extension* extension) {
997 FilePath ExtensionPrefs::GetExtensionPath(const std::string& extension_id) {
1009 void ExtensionPrefs::UpdateExtensionPref(const std::string& extension_id,
1021 void ExtensionPrefs::DeleteExtensionPrefs(const std::string& extension_id) {
1031 const DictionaryValue* ExtensionPrefs::GetExtensionPref(
1102 ExtensionPrefs::ExtensionsInfo* ExtensionPrefs::GetInstalledExtensionsInfo() {
1122 ExtensionInfo* ExtensionPrefs::GetInstalledExtensionInfo(
1138 void ExtensionPrefs::SetIdleInstallInfo(const std::string& extension_id,
1158 bool ExtensionPrefs::RemoveIdleInstallInfo(const std::string& extension_id) {
1168 bool ExtensionPrefs::GetIdleInstallInfo(const std::string& extension_id,
1210 std::set<std::string> ExtensionPrefs::GetIdleInstallInfoIds() {
1235 bool ExtensionPrefs::GetWebStoreLogin(std::string* result) {
1243 void ExtensionPrefs::SetWebStoreLogin(const std::string& login) {
1248 int ExtensionPrefs::GetAppLaunchIndex(const std::string& extension_id) {
1256 void ExtensionPrefs::SetAppLaunchIndex(const std::string& extension_id,
1264 int ExtensionPrefs::GetNextAppLaunchIndex() {
1279 void ExtensionPrefs::SetAppLauncherOrder(
1286 Source<ExtensionPrefs>(this),
1290 int ExtensionPrefs::GetPageIndex(const std::string& extension_id) {
1298 void ExtensionPrefs::SetPageIndex(const std::string& extension_id, int index) {
1305 bool ExtensionPrefs::WasAppDraggedByUser(const std::string& extension_id) {
1315 void ExtensionPrefs::SetAppDraggedByUser(const std::string& extension_id) {
1327 void ExtensionPrefs::SetUpdateUrlData(const std::string& extension_id,
1340 std::string ExtensionPrefs::GetUpdateUrlData(const std::string& extension_id) {
1350 base::Time ExtensionPrefs::GetCurrentTime() const {
1354 base::Time ExtensionPrefs::GetInstallTime(
1370 void ExtensionPrefs::GetExtensions(ExtensionIdSet* out) {
1381 void ExtensionPrefs::FixMissingPrefs(const ExtensionIdSet& extension_ids) {
1405 const DictionaryValue* ExtensionPrefs::GetExtensionControlledPrefs(
1425 void ExtensionPrefs::InitPrefStore() {
1469 void ExtensionPrefs::SetExtensionControlledPref(const std::string& extension_id,
1495 void ExtensionPrefs::RemoveExtensionControlledPref(
1516 bool ExtensionPrefs::CanExtensionControlPref(const std::string& extension_id,
1528 bool ExtensionPrefs::DoesExtensionControlPref(const std::string& extension_id,
1540 bool ExtensionPrefs::HasIncognitoPrefValue(const std::string& pref_key) {
1549 void ExtensionPrefs::RegisterUserPrefs(PrefService* prefs) {