Index: Source/modules/serviceworkers/Cache.cpp |
diff --git a/Source/modules/serviceworkers/Cache.cpp b/Source/modules/serviceworkers/Cache.cpp |
deleted file mode 100644 |
index 14ab34024b13c0a9371ebdb47078ee51b35f7ec0..0000000000000000000000000000000000000000 |
--- a/Source/modules/serviceworkers/Cache.cpp |
+++ /dev/null |
@@ -1,55 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "config.h" |
-#include "modules/serviceworkers/Cache.h" |
- |
-#include "bindings/v8/ScriptPromise.h" |
-#include "bindings/v8/ScriptPromiseResolver.h" |
-#include "core/dom/DOMError.h" |
-#include "core/dom/ExceptionCode.h" |
-#include "platform/NotImplemented.h" |
- |
-namespace WebCore { |
- |
-PassRefPtr<Cache> Cache::create(const Vector<String>& urlStrings) |
-{ |
- RefPtr<Cache> cache = adoptRef(new Cache); |
- // FIXME: Implement. |
- notImplemented(); |
- return cache; |
-} |
- |
-Cache::~Cache() |
-{ |
-} |
- |
-ScriptPromise Cache::match(ScriptState* scriptState, const String& urlString) |
-{ |
- RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
- ScriptPromise promise = resolver->promise(); |
- |
- // FIXME: Implement. |
- notImplemented(); |
- resolver->reject(DOMError::create(NotSupportedError)); |
- return promise; |
-} |
- |
-ScriptPromise Cache::ready(ScriptState* scriptState) |
-{ |
- RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
- ScriptPromise promise = resolver->promise(); |
- |
- // FIXME: Implement. |
- notImplemented(); |
- resolver->reject(DOMError::create(NotSupportedError)); |
- return promise; |
-} |
- |
-Cache::Cache() |
-{ |
- ScriptWrappable::init(this); |
-} |
- |
-} // namespace WebCore |