2 // Open Service Platform
\r
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
\r
5 // Licensed under the Apache License, Version 2.0 (the License);
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://www.apache.org/licenses/LICENSE-2.0
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an "AS IS" BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
19 * @file FWebCtrl_WebStorageManagerImpl.h
\r
20 * @brief The file contains the declaration of _WebStorageManagerImpl class.
\r
22 * The file contains the declaration of _WebStorageManagerImpl class.
\r
24 #ifndef _FWEB_CTRL_INTERNAL_WEB_STORAGE_MANAGER_IMPL_H_
\r
25 #define _FWEB_CTRL_INTERNAL_WEB_STORAGE_MANAGER_IMPL_H_
\r
27 #include <ewk_security_origin.h>
\r
28 #include <FBaseString.h>
\r
29 #include <FWebCtrlWebStorageManager.h>
\r
31 namespace Tizen { namespace Base { namespace Collection
\r
36 namespace Tizen { namespace Web { namespace Controls
\r
39 class _WebStorageManagerImpl
\r
40 : public Tizen::Base::Object
\r
43 _WebStorageManagerImpl(void);
\r
45 virtual ~_WebStorageManagerImpl(void);
\r
47 Tizen::Base::Collection::IList* GetOriginListN(WebStorageType storageType);
\r
49 result SetQuotaForOrigin(WebStorageType storageType, const Tizen::Base::String& origin, long quota);
\r
51 long GetQuotaForOrigin(WebStorageType storageType, const Tizen::Base::String& origin);
\r
53 long GetUsageForOrigin(WebStorageType storageType, const Tizen::Base::String& origin);
\r
55 result Remove(WebStorageType storageType, const Tizen::Base::String& origin);
\r
57 result RemoveAll(WebStorageType storageType);
\r
59 Ewk_Security_Origin* CompareOrigin(WebStorageType storageType, const Tizen::Base::String& origin);
\r
62 _WebStorageManagerImpl(const _WebStorageManagerImpl& rhs);
\r
64 _WebStorageManagerImpl& operator=(const _WebStorageManagerImpl& rhs);
\r
68 }}} // Tizen::Web::Controls
\r
69 #endif // _FWEB_CTRL_INTERNAL_WEB_STORAGE_MANAGER_IMPL_H_