Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: content/browser/service_worker/service_worker_disk_cache.cc

Issue 1140853002: ServiceWorker: Use SimpleCache for the script cache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/service_worker/service_worker_disk_cache.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/browser/service_worker/service_worker_disk_cache.h" 5 #include "content/browser/service_worker/service_worker_disk_cache.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 ServiceWorkerDiskCache::ServiceWorkerDiskCache()
10 : AppCacheDiskCache(true /* use_simple_cache */) {
11 }
12
9 ServiceWorkerResponseReader::ServiceWorkerResponseReader( 13 ServiceWorkerResponseReader::ServiceWorkerResponseReader(
10 int64 response_id, ServiceWorkerDiskCache* disk_cache) 14 int64 response_id, ServiceWorkerDiskCache* disk_cache)
11 : AppCacheResponseReader(response_id, 0, disk_cache) { 15 : AppCacheResponseReader(response_id, 0, disk_cache) {
12 } 16 }
13 17
14 ServiceWorkerResponseWriter::ServiceWorkerResponseWriter( 18 ServiceWorkerResponseWriter::ServiceWorkerResponseWriter(
15 int64 response_id, ServiceWorkerDiskCache* disk_cache) 19 int64 response_id, ServiceWorkerDiskCache* disk_cache)
16 : AppCacheResponseWriter(response_id, 0, disk_cache) { 20 : AppCacheResponseWriter(response_id, 0, disk_cache) {
17 } 21 }
18 22
19 ServiceWorkerResponseMetadataWriter::ServiceWorkerResponseMetadataWriter( 23 ServiceWorkerResponseMetadataWriter::ServiceWorkerResponseMetadataWriter(
20 int64 response_id, 24 int64 response_id,
21 ServiceWorkerDiskCache* disk_cache) 25 ServiceWorkerDiskCache* disk_cache)
22 : AppCacheResponseMetadataWriter(response_id, 0, disk_cache) { 26 : AppCacheResponseMetadataWriter(response_id, 0, disk_cache) {
23 } 27 }
24 28
25 } // namespace content 29 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_disk_cache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698