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

Unified Diff: chrome/browser/memory/tab_manager_observer.h

Issue 2167843004: Discardable property support on TabManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: chrome/browser/memory/tab_manager_observer.h
diff --git a/chrome/browser/memory/tab_manager_observer.h b/chrome/browser/memory/tab_manager_observer.h
index e121daf004732e9d31ac6859eac4bfb0b9534b5a..c8f404c631b256c5a12c3c429a9223ee753a050a 100644
--- a/chrome/browser/memory/tab_manager_observer.h
+++ b/chrome/browser/memory/tab_manager_observer.h
@@ -20,6 +20,10 @@ class TabManagerObserver {
virtual void OnDiscardedStateChange(content::WebContents* contents,
bool is_discarded);
+ // Invoked when the AutoDiscardable state changes.
Georges Khalil 2016/07/22 15:07:57 nit: s/AutoDiscardable/auto discardable
Anderson Silva 2016/07/22 15:34:51 Done.
+ virtual void OnAutoDiscardableStateChange(content::WebContents* contents,
+ bool is_auto_discardable);
+
protected:
virtual ~TabManagerObserver();
};

Powered by Google App Engine
This is Rietveld 408576698