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

Unified Diff: chrome/browser/unload_browsertest.cc

Issue 17382005: Unbreak tabs.onRemove extension API in face of fast tab closure Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't modify content Created 7 years, 6 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/unload_browsertest.cc
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc
index 331b23cbeddcd8dafdc97ee080fd04b39fd27222..074f8cf493967da06cec2194e7de1bf6460a97a9 100644
--- a/chrome/browser/unload_browsertest.cc
+++ b/chrome/browser/unload_browsertest.cc
@@ -461,7 +461,8 @@ class FastTabCloseTabStripModelObserver : public TabStripModelObserver {
// TabStripModelObserver:
virtual void TabDetachedAt(content::WebContents* contents,
- int index) OVERRIDE {
+ int index,
+ bool closing_all) OVERRIDE {
run_loop_->Quit();
}

Powered by Google App Engine
This is Rietveld 408576698