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

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

Issue 126101: Adds kind-of-live thumbnail generation for a potential tab switcher. (Closed)
Patch Set: For Checking hopefully 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
Index: chrome/browser/renderer_host/backing_store_manager.h
diff --git a/chrome/browser/renderer_host/backing_store_manager.h b/chrome/browser/renderer_host/backing_store_manager.h
index 5b929f6e7141a7be98e0efd1c32f4ca6f621f794..3078a9358e92bfa268ab460a9db54f1b917d6c49 100644
--- a/chrome/browser/renderer_host/backing_store_manager.h
+++ b/chrome/browser/renderer_host/backing_store_manager.h
@@ -58,6 +58,11 @@ class BackingStoreManager {
// 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_mac.cc ('k') | chrome/browser/renderer_host/backing_store_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698