Upstream version 11.39.250.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / manifest_handlers / unittest_util.h
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.
4
5 #ifndef XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_
6 #define XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/values.h"
11 #include "xwalk/application/common/application_data.h"
12
13 namespace xwalk {
14 namespace application {
15
16 scoped_ptr<base::DictionaryValue> CreateDefaultW3CManifest();
17
18 #if defined(OS_TIZEN)
19
20 scoped_ptr<base::DictionaryValue> CreateDefaultWGTManifest();
21
22 #endif  // defined(OS_TIZEN)
23
24 scoped_refptr<ApplicationData> CreateApplication(
25     const base::DictionaryValue& manifest);
26
27 }  // namespace application
28 }  // namespace xwalk
29
30 #endif  // XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_