| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "modules/serviceworkers/Cache.h" | 6 #include "modules/serviceworkers/Cache.h" |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromiseResolver.h" | 8 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 9 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 ScriptPromise Cache::add(ScriptState* scriptState, Request* request) | 52 ScriptPromise Cache::add(ScriptState* scriptState, Request* request) |
| 53 { | 53 { |
| 54 return rejectAsNotImplemented(scriptState); | 54 return rejectAsNotImplemented(scriptState); |
| 55 } | 55 } |
| 56 | 56 |
| 57 ScriptPromise Cache::add(ScriptState* scriptState, const String& requestString) | 57 ScriptPromise Cache::add(ScriptState* scriptState, const String& requestString) |
| 58 { | 58 { |
| 59 return rejectAsNotImplemented(scriptState); | 59 return rejectAsNotImplemented(scriptState); |
| 60 } | 60 } |
| 61 | 61 |
| 62 ScriptPromise Cache::addAll(ScriptState* scriptState, const WillBeHeapVector<Scr
iptValue>& rawRequests) | 62 ScriptPromise Cache::addAll(ScriptState* scriptState, const Vector<ScriptValue>&
rawRequests) |
| 63 { | 63 { |
| 64 return rejectAsNotImplemented(scriptState); | 64 return rejectAsNotImplemented(scriptState); |
| 65 } | 65 } |
| 66 | 66 |
| 67 ScriptPromise Cache::deleteFunction(ScriptState* scriptState, Request* request,
const Dictionary& queryParams) | 67 ScriptPromise Cache::deleteFunction(ScriptState* scriptState, Request* request,
const Dictionary& queryParams) |
| 68 { | 68 { |
| 69 return rejectAsNotImplemented(scriptState); | 69 return rejectAsNotImplemented(scriptState); |
| 70 } | 70 } |
| 71 | 71 |
| 72 ScriptPromise Cache::deleteFunction(ScriptState* scriptState, const String& requ
estString, const Dictionary& queryParams) | 72 ScriptPromise Cache::deleteFunction(ScriptState* scriptState, const String& requ
estString, const Dictionary& queryParams) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 98 { | 98 { |
| 99 return rejectAsNotImplemented(scriptState); | 99 return rejectAsNotImplemented(scriptState); |
| 100 } | 100 } |
| 101 | 101 |
| 102 Cache::Cache(WebServiceWorkerCache* webCache) : m_webCache(webCache) | 102 Cache::Cache(WebServiceWorkerCache* webCache) : m_webCache(webCache) |
| 103 { | 103 { |
| 104 ScriptWrappable::init(this); | 104 ScriptWrappable::init(this); |
| 105 } | 105 } |
| 106 | 106 |
| 107 } // namespace blink | 107 } // namespace blink |
| OLD | NEW |