Chromium Code Reviews| Index: chrome/browser/memory/tab_manager.h |
| diff --git a/chrome/browser/memory/tab_manager.h b/chrome/browser/memory/tab_manager.h |
| index c384b7e054b07fa3eb20ad6b794bd748fcaf5665..b0c2380ceeff7e24b485c419a4f4dffb1efe9b78 100644 |
| --- a/chrome/browser/memory/tab_manager.h |
| +++ b/chrome/browser/memory/tab_manager.h |
| @@ -99,8 +99,9 @@ class TabManager : public TabStripModelObserver { |
| bool CanDiscardTab(int64_t target_web_contents_id) const; |
| // Discards a tab to free the memory occupied by its renderer. The tab still |
| - // exists in the tab-strip; clicking on it will reload it. |
| - void DiscardTab(); |
| + // exists in the tab-strip; clicking on it will reload it. Returns true if |
| + // a tab is actually discarded. |
|
haraken
2017/03/07 08:04:57
the tab was
|
| + bool DiscardTab(); |
| // Discards a tab with the given unique ID. The tab still exists in the |
| // tab-strip; clicking on it will reload it. Returns null if the tab cannot |