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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_unittest.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/ui/tabs/tab_strip_model_unittest.cc
diff --git a/chrome/browser/ui/tabs/tab_strip_model_unittest.cc b/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
index 4eaf29141ed320e1fa2dc9da4c496ac047860ced..0205de2d75e62c347943228c6aa2617c0c5f4392 100644
--- a/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
@@ -305,7 +305,9 @@ class MockTabStripModelObserver : public TabStripModelObserver {
int index) OVERRIDE {
states_.push_back(State(contents, index, CLOSE));
}
- virtual void TabDetachedAt(WebContents* contents, int index) OVERRIDE {
+ virtual void TabDetachedAt(WebContents* contents,
+ int index,
+ bool closing_all) OVERRIDE {
states_.push_back(State(contents, index, DETACH));
}
virtual void TabDeactivated(WebContents* contents) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698