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

Unified Diff: chrome/browser/renderer_host/offline_resource_throttle.h

Issue 810583002: Teach CrOS's OfflineResourceThrottle about ServiceWorkers so it know longer presents its offline in… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: geez, fix the cros compile already Created 6 years 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: chrome/browser/renderer_host/offline_resource_throttle.h
diff --git a/chrome/browser/renderer_host/offline_resource_throttle.h b/chrome/browser/renderer_host/offline_resource_throttle.h
index 0d12842d5d2895d88eca59f0b6a2641cbd31f7f0..728421ba83817959a44c8981db9f4a1e44bd4302 100644
--- a/chrome/browser/renderer_host/offline_resource_throttle.h
+++ b/chrome/browser/renderer_host/offline_resource_throttle.h
@@ -51,6 +51,8 @@ class OfflineResourceThrottle
// Safe to keep a pointer around since AppCacheService outlives all requests.
content::AppCacheService* appcache_service_;
net::CancelableCompletionCallback appcache_completion_callback_;
+ net::CancelableCompletionCallback service_worker_completion_callback_;
+ int pending_callbacks_;
DISALLOW_COPY_AND_ASSIGN(OfflineResourceThrottle);
};

Powered by Google App Engine
This is Rietveld 408576698