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

Unified Diff: chrome/browser/renderer_host/chrome_render_message_filter.h

Issue 1685883004: Use uint64_t instead of size_t inside the web cache manager code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_render_message_filter.h
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.h b/chrome/browser/renderer_host/chrome_render_message_filter.h
index 64b46bdb443323cb41a24ed022f22739d23b8e70..97bf627c4d9b248fab3f43afc9b43c69db0b858a 100644
--- a/chrome/browser/renderer_host/chrome_render_message_filter.h
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.h
@@ -12,7 +12,6 @@
#include "base/macros.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/public/browser/browser_message_filter.h"
-#include "third_party/WebKit/public/web/WebCache.h"
class GURL;
class Profile;
@@ -52,7 +51,11 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
void OnDnsPrefetch(const network_hints::LookupRequest& request);
void OnPreconnect(const GURL& url, bool allow_credentials, int count);
- void OnUpdatedCacheStats(const blink::WebCache::UsageStats& stats);
+ void OnUpdatedCacheStats(uint64_t min_capacity,
+ uint64_t max_capacity,
+ uint64_t capacity,
+ uint64_t live_size,
+ uint64_t dead_size);
void OnAllowDatabase(int render_frame_id,
const GURL& origin_url,
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698