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

Unified Diff: content/public/browser/resource_throttle.h

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Patch Set: Workaround iwyu bug in prerender_resource Created 5 years, 4 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/public/browser/resource_throttle.h
diff --git a/content/public/browser/resource_throttle.h b/content/public/browser/resource_throttle.h
index 240d95e1967b0a01d028d8c4be9e8a961bcde7be..0961ac357c6c456d5a6432284ab6488acbc491ee 100644
--- a/content/public/browser/resource_throttle.h
+++ b/content/public/browser/resource_throttle.h
@@ -5,8 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_H_
#define CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_H_
-#include <vector>
-
+// TODO(ricea): Remove this when prerender_resource_throttle.h has been fixed.
class GURL;
davidben 2015/10/08 21:57:52 This appears to be fixed.
Adam Rice 2015/10/13 22:53:18 Thanks. Removed.
namespace net {
@@ -15,7 +14,9 @@ struct RedirectInfo;
namespace content {
+class AsyncRevalidationDriver;
class ResourceController;
+class ThrottlingResourceHandler;
// A ResourceThrottle gets notified at various points during the process of
// loading a resource. At each stage, it has the opportunity to defer the
@@ -56,6 +57,7 @@ class ResourceThrottle {
ResourceController* controller() { return controller_; }
private:
+ friend class AsyncRevalidationDriver;
friend class ThrottlingResourceHandler;
void set_controller(ResourceController* c) { controller_ = c; }

Powered by Google App Engine
This is Rietveld 408576698