| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h" | 5 #include "modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h" |
| 6 | 6 |
| 7 #include "core/fetch/CachedMetadata.h" | 7 #include "core/fetch/CachedMetadata.h" |
| 8 #include "core/workers/WorkerGlobalScope.h" | 8 #include "core/workers/WorkerGlobalScope.h" |
| 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 if (!m_cachedMetadata || m_cachedMetadata->dataTypeID() != dataTypeID) | 50 if (!m_cachedMetadata || m_cachedMetadata->dataTypeID() != dataTypeID) |
| 51 return nullptr; | 51 return nullptr; |
| 52 return m_cachedMetadata.get(); | 52 return m_cachedMetadata.get(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 String ServiceWorkerScriptCachedMetadataHandler::encoding() const | 55 String ServiceWorkerScriptCachedMetadataHandler::encoding() const |
| 56 { | 56 { |
| 57 return emptyString(); | 57 return emptyString(); |
| 58 } | 58 } |
| 59 | 59 |
| 60 bool ServiceWorkerScriptCachedMetadataHandler::shouldAggressivelyCache() const |
| 61 { |
| 62 return false; |
| 63 } |
| 64 |
| 60 } // namespace blink | 65 } // namespace blink |
| OLD | NEW |