Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / browser / service_worker / service_worker_disk_cache.h
index c0446c9..7fa51ee 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
-#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
+#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_
+#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_
 
+#include "content/browser/appcache/appcache_disk_cache.h"
 #include "content/common/content_export.h"
-#include "webkit/browser/appcache/appcache_disk_cache.h"
 
 namespace content {
 
@@ -16,12 +16,12 @@ namespace content {
 // TODO(michaeln): If this reuse sticks, refactor/move the
 // resused classes to a more common location.
 
-class ServiceWorkerDiskCache
-    : public appcache::AppCacheDiskCache {
+class CONTENT_EXPORT ServiceWorkerDiskCache
+    : public AppCacheDiskCache {
 };
 
-class ServiceWorkerResponseReader
-    : public appcache::AppCacheResponseReader {
+class CONTENT_EXPORT ServiceWorkerResponseReader
+    : public AppCacheResponseReader {
  protected:
   // Should only be constructed by the storage class.
   friend class ServiceWorkerStorage;
@@ -30,8 +30,8 @@ class ServiceWorkerResponseReader
       ServiceWorkerDiskCache* disk_cache);
 };
 
-class ServiceWorkerResponseWriter
-    : public appcache::AppCacheResponseWriter {
+class CONTENT_EXPORT ServiceWorkerResponseWriter
+    : public AppCacheResponseWriter {
  protected:
   // Should only be constructed by the storage class.
   friend class ServiceWorkerStorage;
@@ -40,12 +40,6 @@ class ServiceWorkerResponseWriter
       ServiceWorkerDiskCache* disk_cache);
 };
 
-struct HttpResponseInfoIOBuffer
-    : public appcache::HttpResponseInfoIOBuffer {
- protected:
-  virtual ~HttpResponseInfoIOBuffer();
-};
-
 }  // namespace content
 
-#endif  // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_
+#endif  // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_