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

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

Issue 269373002: Store the service worker script and its imports on first load... kinda (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "webkit/browser/appcache/appcache_disk_cache.h" 9 #include "webkit/browser/appcache/appcache_disk_cache.h"
10 10
(...skipping 24 matching lines...) Expand all
35 protected: 35 protected:
36 // Should only be constructed by the storage class. 36 // Should only be constructed by the storage class.
37 friend class ServiceWorkerStorage; 37 friend class ServiceWorkerStorage;
38 ServiceWorkerResponseWriter( 38 ServiceWorkerResponseWriter(
39 int64 response_id, 39 int64 response_id,
40 ServiceWorkerDiskCache* disk_cache); 40 ServiceWorkerDiskCache* disk_cache);
41 }; 41 };
42 42
43 struct HttpResponseInfoIOBuffer 43 struct HttpResponseInfoIOBuffer
44 : public appcache::HttpResponseInfoIOBuffer { 44 : public appcache::HttpResponseInfoIOBuffer {
45 public:
46 HttpResponseInfoIOBuffer() : appcache::HttpResponseInfoIOBuffer() {}
47 explicit HttpResponseInfoIOBuffer(net::HttpResponseInfo* info)
48 : appcache::HttpResponseInfoIOBuffer(info) {}
nhiroki 2014/05/08 01:58:56 nit: This should be 4-space indent.
45 protected: 49 protected:
46 virtual ~HttpResponseInfoIOBuffer(); 50 virtual ~HttpResponseInfoIOBuffer();
47 }; 51 };
48 52
49 } // namespace content 53 } // namespace content
50 54
51 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_ 55 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698