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

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: Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/offline_resource_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..29ef21e1fe2040d1f6546bf7c22344de2c665dac 100644
--- a/chrome/browser/renderer_host/offline_resource_throttle.h
+++ b/chrome/browser/renderer_host/offline_resource_throttle.h
@@ -34,23 +34,17 @@ class OfflineResourceThrottle
virtual const char* GetNameForLogging() const override;
private:
- // OfflineLoadPage callback.
void OnBlockingPageComplete(bool proceed);
-
- // Erase the state associated with a deferred load request.
void ClearRequestInfo();
bool IsRemote(const GURL& url) const;
-
- // True if chrome should show the offline page.
bool ShouldShowOfflinePage(const GURL& url) const;
-
- // A callback to tell if an appcache exists.
void OnCanHandleOfflineComplete(int rv);
net::URLRequest* request_;
// Safe to keep a pointer around since AppCacheService outlives all requests.
content::AppCacheService* appcache_service_;
- net::CancelableCompletionCallback appcache_completion_callback_;
+ net::CancelableCompletionCallback completion_callback_;
+ int pending_callbacks_;
DISALLOW_COPY_AND_ASSIGN(OfflineResourceThrottle);
};
« no previous file with comments | « no previous file | chrome/browser/renderer_host/offline_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698