summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_closeable_state_watcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_closeable_state_watcher.cc')
-rw-r--r--chrome/browser/tab_closeable_state_watcher.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/tab_closeable_state_watcher.cc b/chrome/browser/tab_closeable_state_watcher.cc
index 198dee5..28c9135 100644
--- a/chrome/browser/tab_closeable_state_watcher.cc
+++ b/chrome/browser/tab_closeable_state_watcher.cc
@@ -27,3 +27,11 @@
watcher = new ::TabCloseableStateWatcher();
return watcher;
}
+
+bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const {
+ return true;
+}
+
+bool TabCloseableStateWatcher::CanCloseBrowser(Browser* browser) {
+ return true;
+}