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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.h

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move http check Created 9 years, 5 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/renderer_host/resource_dispatcher_host.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h
index 415d0c2d1384aff0b2bf6c53eac9132e51a549e1..d6c5ce70e77034d25b540cbe6d5989761dfcd80e 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.h
+++ b/content/browser/renderer_host/resource_dispatcher_host.h
@@ -160,6 +160,12 @@ class ResourceDispatcherHost : public net::URLRequest::Delegate {
// Called when the unload handler for a cross-site request has finished.
void OnSwapOutACK(const ViewMsg_SwapOut_Params& params);
+ // Called when the renderer loads a resource from its internal cache.
+ void OnDidLoadResourceFromMemoryCache(const GURL& url,
+ const std::string& security_info,
+ const std::string& http_method,
+ ResourceType::Type resource_type);
+
// Force cancels any pending requests for the given process.
void CancelRequestsForProcess(int process_unique_id);

Powered by Google App Engine
This is Rietveld 408576698