| Index: content/browser/cache_storage/cache_storage_scheduler.h
|
| diff --git a/content/browser/service_worker/service_worker_cache_scheduler.h b/content/browser/cache_storage/cache_storage_scheduler.h
|
| similarity index 68%
|
| rename from content/browser/service_worker/service_worker_cache_scheduler.h
|
| rename to content/browser/cache_storage/cache_storage_scheduler.h
|
| index 0cad875521f09133aa882f64700427f22633302b..32e7617de00cd696f3a674eeebe8ee1038d6bcf4 100644
|
| --- a/content/browser/service_worker/service_worker_cache_scheduler.h
|
| +++ b/content/browser/cache_storage/cache_storage_scheduler.h
|
| @@ -2,8 +2,8 @@
|
| // 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_CACHE_SCHEDULER_H_
|
| -#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_SCHEDULER_H_
|
| +#ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_SCHEDULER_H_
|
| +#define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_SCHEDULER_H_
|
|
|
| #include <list>
|
|
|
| @@ -12,10 +12,10 @@
|
|
|
| namespace content {
|
|
|
| -class CONTENT_EXPORT ServiceWorkerCacheScheduler {
|
| +class CONTENT_EXPORT CacheStorageScheduler {
|
| public:
|
| - ServiceWorkerCacheScheduler();
|
| - virtual ~ServiceWorkerCacheScheduler();
|
| + CacheStorageScheduler();
|
| + virtual ~CacheStorageScheduler();
|
|
|
| // Adds the operation to the tail of the queue and starts it if the scheduler
|
| // is idle.
|
| @@ -35,9 +35,9 @@ class CONTENT_EXPORT ServiceWorkerCacheScheduler {
|
| std::list<base::Closure> pending_operations_;
|
| bool operation_running_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(ServiceWorkerCacheScheduler);
|
| + DISALLOW_COPY_AND_ASSIGN(CacheStorageScheduler);
|
| };
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_SCHEDULER_H_
|
| +#endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_SCHEDULER_H_
|
|
|