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

Unified Diff: chrome/browser/ui/browser_close_browsertest.cc

Issue 12047039: download: Remove DownloadManager::MockDownloadOpenForTesting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename to DownloadTestFileActivityObserver Created 7 years, 11 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/browser_close_browsertest.cc
diff --git a/chrome/browser/ui/browser_close_browsertest.cc b/chrome/browser/ui/browser_close_browsertest.cc
index 94351a2eef68afcae278d39067f57240bb0ee5fd..3b9f8ecb2c607a9ebb7a5ff1ba6fe31219fd29da 100644
--- a/chrome/browser/ui/browser_close_browsertest.cc
+++ b/chrome/browser/ui/browser_close_browsertest.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_service.h"
#include "chrome/browser/download/download_service_factory.h"
-#include "chrome/browser/download/download_test_file_chooser_observer.h"
+#include "chrome/browser/download/download_test_file_activity_observer.h"
#include "chrome/browser/net/url_request_mock_util.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
@@ -240,8 +240,8 @@ class BrowserCloseTest : public InProcessBrowserTest {
EXPECT_TRUE(second_profile_);
if (!second_profile_) return false;
- DownloadTestFileChooserObserver(first_profile_) .EnableFileChooser(false);
- DownloadTestFileChooserObserver(second_profile_).EnableFileChooser(false);
+ DownloadTestFileActivityObserver(first_profile_) .EnableFileChooser(false);
+ DownloadTestFileActivityObserver(second_profile_).EnableFileChooser(false);
return true;
}
@@ -279,9 +279,9 @@ class BrowserCloseTest : public InProcessBrowserTest {
Profile* first_profile_incognito = first_profile_->GetOffTheRecordProfile();
Profile* second_profile_incognito =
second_profile_->GetOffTheRecordProfile();
- DownloadTestFileChooserObserver(first_profile_incognito)
+ DownloadTestFileActivityObserver(first_profile_incognito)
.EnableFileChooser(false);
- DownloadTestFileChooserObserver(second_profile_incognito)
+ DownloadTestFileActivityObserver(second_profile_incognito)
.EnableFileChooser(false);
// For simplicty of coding, we create a window on each profile so that

Powered by Google App Engine
This is Rietveld 408576698