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

Unified Diff: content/browser/service_worker/service_worker_disk_cache_migrator.h

Issue 1152543002: ServiceWorker: Migrate the script cache backend from BlockFile to Simple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update histograms.xml 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_disk_cache_migrator.h
diff --git a/content/browser/service_worker/service_worker_disk_cache_migrator.h b/content/browser/service_worker/service_worker_disk_cache_migrator.h
index 44f83de1e416198a685cbae456934b553b1799ba..99a7a0104c09caa2c04f1541f5df0130074f1878 100644
--- a/content/browser/service_worker/service_worker_disk_cache_migrator.h
+++ b/content/browser/service_worker/service_worker_disk_cache_migrator.h
@@ -57,6 +57,9 @@ class CONTENT_EXPORT ServiceWorkerDiskCacheMigrator {
scoped_ptr<Task> pending_task_;
size_t max_number_of_inflight_tasks_ = 10;
+ base::TimeTicks start_time_;
+ size_t number_of_migrated_resources_ = 0;
+
StatusCallback callback_;
base::WeakPtrFactory<ServiceWorkerDiskCacheMigrator> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698