Add option to disallow the discarding of a tab that was previously discarded.
commitff7361126407649f2bcf483ec8789f4717043e16
authorgeorgesak <georgesak@chromium.org>
Mon, 14 Sep 2015 20:17:22 +0000 (14 13:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 20:17:51 +0000 (14 20:17 +0000)
tree65a870e460c557ec896c52dda25d46b3fd9bdfe9
parent7e0c45b2f63b8d2cab47c3830ce6301067e36564
Add option to disallow the discarding of a tab that was previously discarded.

BUG=514340

Review URL: https://codereview.chromium.org/1332003002

Cr-Commit-Position: refs/heads/master@{#348701}
15 files changed:
chrome/browser/chrome_browser_main.cc
chrome/browser/memory/oom_priority_manager.cc
chrome/browser/memory/oom_priority_manager.h
chrome/browser/memory/oom_priority_manager_browsertest.cc
chrome/browser/memory/tab_stats.cc
chrome/browser/memory/tab_stats.h
chrome/browser/ui/browser.cc
chrome/browser/ui/tabs/tab_discard_state.cc [new file with mode: 0644]
chrome/browser/ui/tabs/tab_discard_state.h [new file with mode: 0644]
chrome/browser/ui/tabs/tab_strip_model.cc
chrome/browser/ui/tabs/tab_strip_model.h
chrome/browser/ui/tabs/tab_strip_model_unittest.cc
chrome/browser/ui/webui/about_ui.cc
chrome/chrome_browser_ui.gypi
tools/metrics/histograms/histograms.xml