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

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

Issue 1142193002: Revert of ServiceWorker: Use SimpleCache for the script cache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
13 ServiceWorkerResponseReader::ServiceWorkerResponseReader( 9 ServiceWorkerResponseReader::ServiceWorkerResponseReader(
14 int64 response_id, ServiceWorkerDiskCache* disk_cache) 10 int64 response_id, ServiceWorkerDiskCache* disk_cache)
15 : AppCacheResponseReader(response_id, 0, disk_cache) { 11 : AppCacheResponseReader(response_id, 0, disk_cache) {
16 } 12 }
17 13
18 ServiceWorkerResponseWriter::ServiceWorkerResponseWriter( 14 ServiceWorkerResponseWriter::ServiceWorkerResponseWriter(
19 int64 response_id, ServiceWorkerDiskCache* disk_cache) 15 int64 response_id, ServiceWorkerDiskCache* disk_cache)
20 : AppCacheResponseWriter(response_id, 0, disk_cache) { 16 : AppCacheResponseWriter(response_id, 0, disk_cache) {
21 } 17 }
22 18
23 ServiceWorkerResponseMetadataWriter::ServiceWorkerResponseMetadataWriter( 19 ServiceWorkerResponseMetadataWriter::ServiceWorkerResponseMetadataWriter(
24 int64 response_id, 20 int64 response_id,
25 ServiceWorkerDiskCache* disk_cache) 21 ServiceWorkerDiskCache* disk_cache)
26 : AppCacheResponseMetadataWriter(response_id, 0, disk_cache) { 22 : AppCacheResponseMetadataWriter(response_id, 0, disk_cache) {
27 } 23 }
28 24
29 } // namespace content 25 } // 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