2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 * This file contains the declaration of auto save dao class.
19 * @file auto_save_dao.h
20 * @author Jihoon Chung (jihoon.chung@samsung.com)
22 * @brief This file contains the declaration of auto save dao
24 #ifndef _AUTO_SAVE_DAO_H_
25 #define _AUTO_SAVE_DAO_H_
27 #include <wrt-commons/auto-save-dao-ro/auto_save_dao_read_only.h>
29 namespace AutoSaveDB {
30 class AutoSaveDAO : public AutoSaveDAOReadOnly
35 virtual ~AutoSaveDAO();
37 static void attachDatabaseRW(void);
38 static void detachDatabase(void);
41 * This method sets Autofill for Webkit
43 static void setAutoSaveSubmitFormData(
44 const DPL::String& url, const SubmitFormData &submitFormData);
46 } // namespace AutoSaveDB
48 #endif // _AUTO_SAVE_DAO_H_