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

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

Issue 118420: Adds kind-of-live thumbnail generation for a potential tab switcher. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/browser/renderer_host/backing_store.h ('k') | chrome/browser/renderer_host/backing_store_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/backing_store_manager.h
===================================================================
--- chrome/browser/renderer_host/backing_store_manager.h (revision 17971)
+++ chrome/browser/renderer_host/backing_store_manager.h (working copy)
@@ -58,6 +58,11 @@
// Removes the backing store for the host.
static void RemoveBackingStore(RenderWidgetHost* host);
+ // Expires the given backing store. This emulates something getting evicted
+ // from the cache for the purpose of testing. Returns true if the host was
+ // removed, false if it wasn't found.
+ static bool ExpireBackingStoreForTest(RenderWidgetHost* host);
+
private:
// Not intended for instantiation.
BackingStoreManager() {}
« no previous file with comments | « chrome/browser/renderer_host/backing_store.h ('k') | chrome/browser/renderer_host/backing_store_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698