Change the chromium header from ewk_chromium.h to EWebKit.h/Ewebkit_internal.h
[platform/framework/web/crosswalk-tizen.git] / wrt-upgrade / wrt-upgrade.h
1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Copyright (c) 2015 Samsung Electronics Co., Ltd. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 #ifndef WRT_UPGRADE_H
7 #define WRT_UPGRADE_H
8 #include <iostream>
9 #include <vector>
10 #include <map>
11 #include <string>
12
13 #include "wrt-upgrade/wrt-upgrade-info.h"
14
15 namespace upgrade {
16 class WrtUpgrade{
17  public:
18   WrtUpgrade();
19   ~WrtUpgrade();
20   void Run();
21  private:
22   void ParseWrtDatabse();
23   void ParseSecurityOriginDatabase();
24   void ParseCertificatenDatabase();
25   void CreateMigrationFile();
26   void RemoveDatabases();
27   bool RemoveFile(const std::string& path);
28   void RedirectSymlink();
29   std::string CreateJsonObject(std::string appid);
30   std::vector<std::string> application_list_;
31   std::map<std::string, WrtUpgradeInfo> application_map_;
32 };
33 }  // namespace upgrade
34 #endif  // WRT_UPGRADE_H