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/loader/async_revalidation_manager.h

Issue 1977313002: Define parameter structs of resource messages out of resource_messages.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/loader/async_revalidation_manager.h
diff --git a/content/browser/loader/async_revalidation_manager.h b/content/browser/loader/async_revalidation_manager.h
index e866b4abc9795d9a859517a96320c541edd1002f..cf6f6c57aef8c3e87df9230cc98511f925aaef9d 100644
--- a/content/browser/loader/async_revalidation_manager.h
+++ b/content/browser/loader/async_revalidation_manager.h
@@ -12,7 +12,6 @@
#include "base/macros.h"
class GURL;
-struct ResourceHostMsg_Request;
namespace net {
class URLRequest;
@@ -24,6 +23,7 @@ namespace content {
class AsyncRevalidationDriver;
class ResourceContext;
class ResourceScheduler;
+struct ResourceRequest;
// One instance of this class manages all active AsyncRevalidationDriver objects
// for all profiles. It is created by and owned by
@@ -44,8 +44,7 @@ class AsyncRevalidationManager {
void CancelAsyncRevalidationsForResourceContext(
ResourceContext* resource_context);
- static bool QualifiesForAsyncRevalidation(
- const ResourceHostMsg_Request& request);
+ static bool QualifiesForAsyncRevalidation(const ResourceRequest& request);
private:
// The key of the map of pending async revalidations. This key has a distinct
« no previous file with comments | « content/browser/loader/async_resource_handler.cc ('k') | content/browser/loader/async_revalidation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698