Upstream version 8.36.161.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / installer / package_installer_tizen.h
1 // Copyright (c) 2014 Intel Corporation. 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.
4
5 #ifndef XWALK_APPLICATION_COMMON_INSTALLER_PACKAGE_INSTALLER_TIZEN_H_
6 #define XWALK_APPLICATION_COMMON_INSTALLER_PACKAGE_INSTALLER_TIZEN_H_
7
8 #include <string>
9
10 #include "xwalk/application/common/installer/package_installer.h"
11
12 namespace xwalk {
13 namespace application {
14
15 class PackageInstallerTizen : public PackageInstaller {
16  public:
17   explicit PackageInstallerTizen(ApplicationStorage* storage);
18
19  private:
20   virtual bool PlatformInstall(ApplicationData* data) OVERRIDE;
21   virtual bool PlatformUninstall(ApplicationData* data) OVERRIDE;
22   virtual bool PlatformUpdate(ApplicationData* data) OVERRIDE;
23 };
24
25 }  // namespace application
26 }  // namespace xwalk
27
28 #endif  // XWALK_APPLICATION_COMMON_INSTALLER_PACKAGE_INSTALLER_TIZEN_H_