Remove web storage & filesystem usage code
authorJihoon Chung <jihoon.chung@samsung.com>
Wed, 6 Mar 2013 07:43:26 +0000 (16:43 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 6 Mar 2013 23:49:12 +0000 (08:49 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] Webkit deprecate API for web storage and filesystem usage
[Solution] Clean-up code for web storage and filesystem usage
[SCMRequest] must be imported with wrt-setting, wrt-installer

Change-Id: I23e55abcfc80dd499dd65e0777104e9f107f145f

modules/security_origin_dao/dao/security_origin_dao_types.cpp
modules/security_origin_dao/include/wrt-commons/security-origin-dao/security_origin_dao_types.h
modules/widget_dao/include/dpl/wrt-dao-ro/vconf_config.h

index 639c2b7..eaecc4b 100644 (file)
@@ -28,8 +28,6 @@
 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
index 28ead78..bcb0681 100644 (file)
@@ -35,9 +35,7 @@ enum Feature
     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
index 5f23262..9245141 100644 (file)
@@ -65,24 +65,6 @@ inline std::string GetVconfKeyWebNotificationUsage(DPL::String tzPkgId)
                .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()