1 // Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef XWALK_APPLICATION_TOOLS_TIZEN_XWALK_RDS_DELTA_PARSER_H_
6 #define XWALK_APPLICATION_TOOLS_TIZEN_XWALK_RDS_DELTA_PARSER_H_
11 #include "base/files/file_path.h"
13 class RDSDeltaParser {
15 RDSDeltaParser(const base::FilePath& app_path, const std::string& pkgid);
17 bool ApplyParsedData();
20 base::FilePath app_dir_;
21 base::FilePath rds_dir_;
22 std::multimap<std::string, std::string> parsed_data_;
24 bool AddFile(const std::string& file_name);
25 bool DeleteFile(const std::string& file_name);
26 bool ModifyFile(const std::string& file_name);
29 #endif // XWALK_APPLICATION_TOOLS_TIZEN_XWALK_RDS_DELTA_PARSER_H_