namespace SecurityOriginDB {
const std::map<std::string, Feature> g_W3CPrivilegeTextMap = {
{"http://tizen.org/privilege/location", FEATURE_GEOLOCATION},
- {"http://tizen.org/privilege/notification", FEATURE_WEB_NOTIFICATION},
- {"http://tizen.org/privilege/unlimitedstorage", FEATURE_WEB_DATABASE},
- {"http://tizen.org/privilege/filesystem.write", FEATURE_FILE_SYSTEM_ACCESS}
+ {"http://tizen.org/privilege/notification", FEATURE_WEB_NOTIFICATION}
};
} // namespace SecurityOriginDB
FEATURE_START = 0,
FEATURE_GEOLOCATION = 0,
FEATURE_WEB_NOTIFICATION,
- FEATURE_WEB_DATABASE,
- FEATURE_FILE_SYSTEM_ACCESS,
- FEATURE_END = FEATURE_FILE_SYSTEM_ACCESS
+ FEATURE_END = FEATURE_WEB_NOTIFICATION
};
enum Result
.GetFullPath();
}
-inline std::string GetVconfKeyWebDatabaseUsage(DPL::String tzPkgId)
-{
- return PathBuilder()
- .Append(GlobalConfig::GetVconfKeyPrefixPath())
- .Append(DPL::ToUTF8String(tzPkgId))
- .Concat(GlobalConfig::GetVconfKeyWebDatabaseUsagePath())
- .GetFullPath();
-}
-
-inline std::string GetVconfKeyFilesystemUsage(DPL::String tzPkgId)
-{
- return PathBuilder()
- .Append(GlobalConfig::GetVconfKeyPrefixPath())
- .Append(DPL::ToUTF8String(tzPkgId))
- .Concat(GlobalConfig::GetVconfKeyFilesystemUsagePath())
- .GetFullPath();
-}
-
inline std::string GetVconfKeyMemorySavingMode(DPL::String tzPkgId)
{
return PathBuilder()