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