Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / xwalk / app / android / runtime_client / src / org / xwalk / app / runtime / extension / XWalkRuntimeExtensionBridgeFactory.java
1 // Copyright (c) 2013 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 package org.xwalk.app.runtime.extension;
6
7 /**
8  * A factory used to create the extension bridge.
9  */
10 final class XWalkRuntimeExtensionBridgeFactory {
11     /**
12      * Return a XWalkExtensionBridge instance for the given extension.
13      */
14     public static XWalkRuntimeExtensionBridge createInstance(XWalkExtensionClient extension) {
15         return new XWalkCoreExtensionBridge(extension);
16     }
17 }