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

Unified Diff: content/browser/tab_contents/tab_contents.cc

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/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 04a11986b4efce7052049284eb852a8c68f1b56d..516c1c64c8fc631a5255e1a947c9b1c38dbc8cac 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -966,7 +966,9 @@ void TabContents::OnDidFailProvisionalLoadWithError(
void TabContents::OnDidLoadResourceFromMemoryCache(
const GURL& url,
- const std::string& security_info) {
+ const std::string& security_info,
+ const std::string& http_method,
+ ResourceType::Type resource_type) {
base::StatsCounter cache("WebKit.CacheHit");
cache.Increment();

Powered by Google App Engine
This is Rietveld 408576698