[Release] wrt-commons_0.2.119
[framework/web/wrt-commons.git] / modules / widget_dao / include / dpl / wrt-dao-ro / config_parser_data.h
index 2a85422..bc78fe4 100644 (file)
@@ -254,6 +254,21 @@ class ConfigParserData
     };
     typedef std::list<AllowNavigationInfo> AllowNavigationInfoList;
 
+    struct Metadata
+    {
+        Metadata(const DPL::String& _key,
+                 const DPL::String& _value) :
+            key(_key),
+            value(_value)
+        {}
+        DPL::String key;
+        DPL::String value;
+
+        bool operator==(const Metadata&) const;
+        bool operator!=(const Metadata&) const;
+    };
+    typedef std::list<Metadata> MetadataList;
+
     enum class SecurityModelVersion {
         SECURITY_MODEL_V1 = 0, // WARP
         SECURITY_MODEL_V2      // CSP, allow-navigation
@@ -327,6 +342,8 @@ class ConfigParserData
     AccountProvider accountProvider;
     // security model version
     SecurityModelVersion securityModelVersion;
+    // security model version
+    MetadataList metadataList;
 
     ConfigParserData() :
         flashNeeded(false),