a921cbf406cfb958402591d9b25e2eeff9f188ad
[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 #include "xwalk/application/common/manifest.h"
13
14 namespace xwalk {
15 namespace application {
16
17 scoped_ptr<base::DictionaryValue> CreateDefaultManifestConfig();
18 scoped_ptr<base::DictionaryValue> CreateDefaultWidgetConfig();
19
20 scoped_refptr<ApplicationData> CreateApplication(Manifest::Type type,
21     const base::DictionaryValue& manifest);
22
23 }  // namespace application
24 }  // namespace xwalk
25
26 #endif  // XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_