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

Side by Side Diff: content/renderer/cache_storage/webserviceworkercachestorage_impl.h

Issue 1254023006: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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
OLDNEW
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 #ifndef CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_
7 7
8 #include "content/child/thread_safe_sender.h" 8 #include "content/child/thread_safe_sender.h"
9 #include "third_party/WebKit/public/platform/WebServiceWorkerCache.h"
10 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h"
11 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheStorage.h"
12 #include "third_party/WebKit/public/platform/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
10 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerCache.h"
11 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerCacheError.h"
12 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerCacheStorage.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 class CacheStorageDispatcher; 16 class CacheStorageDispatcher;
17 class ThreadSafeSender; 17 class ThreadSafeSender;
18 18
19 // This corresponds to an instance of the script-facing CacheStorage object. 19 // This corresponds to an instance of the script-facing CacheStorage object.
20 // One exists per script execution context (window, worker) and has an origin 20 // One exists per script execution context (window, worker) and has an origin
21 // which provides a namespace for the caches. Script calls to the CacheStorage 21 // which provides a namespace for the caches. Script calls to the CacheStorage
22 // object are routed through here to the (per-thread) dispatcher then on to 22 // object are routed through here to the (per-thread) dispatcher then on to
(...skipping 26 matching lines...) Expand all
49 49
50 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 50 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
51 const GURL origin_; 51 const GURL origin_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerCacheStorageImpl); 53 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerCacheStorageImpl);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL _H_ 58 #endif // CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698