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

Unified Diff: content/browser/memory/memory_coordinator.h

Issue 2448953002: Add MemoryCoordinatorProxy::SetCurrentMemoryStateForTesting (Closed)
Patch Set: Add tests Created 4 years, 2 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 | « content/browser/browser_main_loop.cc ('k') | content/browser/memory/memory_coordinator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_coordinator.h
diff --git a/content/browser/memory/memory_coordinator.h b/content/browser/memory/memory_coordinator.h
index 35a7938197eeca4d0bfd2f549e82293240b3e0dd..682f1ba628142c1a9a001c14a97179a1c8b5c3a9 100644
--- a/content/browser/memory/memory_coordinator.h
+++ b/content/browser/memory/memory_coordinator.h
@@ -56,6 +56,7 @@ class CONTENT_EXPORT MemoryCoordinator {
virtual void OnChildAdded(int render_process_id) {}
virtual base::MemoryState GetCurrentMemoryState() const;
+ virtual void SetCurrentMemoryStateForTesting(base::MemoryState memory_state);
protected:
// Constructor. Protected as this is a singleton, but accessible for
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/memory/memory_coordinator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698