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.
5 #ifndef XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_
6 #define XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_
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"
15 namespace application {
17 scoped_ptr<base::DictionaryValue> CreateDefaultManifestConfig();
18 scoped_ptr<base::DictionaryValue> CreateDefaultWidgetConfig();
20 scoped_refptr<ApplicationData> CreateApplication(Manifest::Type type,
21 const base::DictionaryValue& manifest);
23 } // namespace application
26 #endif // XWALK_APPLICATION_COMMON_MANIFEST_HANDLERS_UNITTEST_UTIL_H_