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

Unified Diff: chrome/browser/ui/views/file_manager_dialog_unittest.cc

Issue 8523006: Don't show FileManagerDialog if another FileManagerDialog is shown in the same tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: space Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/views/file_manager_dialog_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/file_manager_dialog_unittest.cc
diff --git a/chrome/browser/ui/views/file_manager_dialog_unittest.cc b/chrome/browser/ui/views/file_manager_dialog_unittest.cc
index 33ad4f0aed2bfebbf88fcdfd93fbf3e3dd1cd9e2..122be1f5c97edb185fde5be4e6ae22c86dd375cd 100644
--- a/chrome/browser/ui/views/file_manager_dialog_unittest.cc
+++ b/chrome/browser/ui/views/file_manager_dialog_unittest.cc
@@ -13,7 +13,9 @@ class FileManagerDialogTest : public testing::Test {
int32 tab_id) {
FileManagerDialog* dialog = new FileManagerDialog(listener);
// Simulate the dialog opening.
+ EXPECT_FALSE(FileManagerDialog::PendingExists(tab_id));
dialog->AddPending(tab_id);
+ EXPECT_TRUE(FileManagerDialog::PendingExists(tab_id));
return dialog;
}
};
« no previous file with comments | « chrome/browser/ui/views/file_manager_dialog_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698