Upstream version 10.39.233.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / tizen / package_query.h
1 // Copyright (c) 2014 Intel Corporation. All rights reserved.
2 // Copyright (c) 2014 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 XWALK_APPLICATION_COMMON_TIZEN_PACKAGE_QUERY_H_
7 #define XWALK_APPLICATION_COMMON_TIZEN_PACKAGE_QUERY_H_
8
9 #include <string>
10
11 #include "base/file_util.h"
12 #include "base/time/time.h"
13
14 namespace xwalk {
15 namespace application {
16
17 base::FilePath GetApplicationPath(const std::string& app_id);
18 base::FilePath GetPackagePath(const std::string& pkg_id);
19
20 std::string GetPackageType(const std::string& pkg_id);
21
22 base::Time GetApplicationInstallationTime(const std::string& app_id);
23
24 }  // namespace application
25 }  // namespace xwalk
26
27 #endif  // XWALK_APPLICATION_COMMON_TIZEN_PACKAGE_QUERY_H_