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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 2764683002: Remove stale-while-revalidate from content and chrome (Closed)
Patch Set: rebase Created 3 years, 9 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/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 86e9e5b3374641ded45b78bf2c350961e4190622..4e7dc4b05abede2eca7e8b986e5e4eb1e4157c1a 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -58,7 +58,6 @@ class ShareableFileReference;
namespace content {
class AppCacheNavigationHandleCore;
class AppCacheService;
-class AsyncRevalidationManager;
class LoaderDelegate;
class NavigationURLLoaderImplCore;
class NavigationUIData;
@@ -288,10 +287,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
return num_in_flight_requests_;
}
- // Turns on stale-while-revalidate support, regardless of command-line flags
- // or experiment status. For unit tests only.
- void EnableStaleWhileRevalidateForTesting();
-
// Sets the LoaderDelegate, which must outlive this object. Ownership is not
// transferred. The LoaderDelegate should be interacted with on the IO thread.
void SetLoaderDelegate(LoaderDelegate* loader_delegate);
@@ -771,10 +766,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
bool allow_cross_origin_auth_prompt_;
- // AsyncRevalidationManager is non-NULL if and only if
- // stale-while-revalidate is enabled.
- std::unique_ptr<AsyncRevalidationManager> async_revalidation_manager_;
-
typedef std::map<GlobalRequestID,
base::ObserverList<ResourceMessageDelegate>*> DelegateMap;
DelegateMap delegate_map_;
« no previous file with comments | « content/browser/loader/netlog_observer_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698