| Index: public/web/WebEmbeddedWorkerStartMode.h
|
| diff --git a/public/platform/WebCallbacks.h b/public/web/WebEmbeddedWorkerStartMode.h
|
| similarity index 87%
|
| copy from public/platform/WebCallbacks.h
|
| copy to public/web/WebEmbeddedWorkerStartMode.h
|
| index ba023d32cce145c7a5cf7f38e9693a86f6a8bff3..33036bbdcff81536844dc807130e1766bdf0af57 100644
|
| --- a/public/platform/WebCallbacks.h
|
| +++ b/public/web/WebEmbeddedWorkerStartMode.h
|
| @@ -28,19 +28,16 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebCallbacks_h
|
| -#define WebCallbacks_h
|
| +#ifndef WebEmbeddedWorkerStartMode_h
|
| +#define WebEmbeddedWorkerStartMode_h
|
|
|
| namespace WebKit {
|
|
|
| -template<typename S, typename T>
|
| -class WebCallbacks {
|
| -public:
|
| - virtual ~WebCallbacks() { };
|
| - virtual void onSuccess(S*) { };
|
| - virtual void onError(T*) { };
|
| +enum WebEmbeddedWorkerStartMode {
|
| + WebEmbeddedWorkerStartModeDontPauseOnStart,
|
| + WebEmbeddedWorkerStartModePauseOnStart
|
| };
|
|
|
| } // namespace WebKit
|
|
|
| -#endif
|
| +#endif // WebEmbeddedWorkerStartMode_h
|
|
|