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

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: Rebase and comment fix 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
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_unittest.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 042fdf3c7737ef5ef34119c92860ee3db32e460b..922b73033ae8701b96403353eb40d33d53bd5d4c 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"
@@ -242,8 +242,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;
}
@@ -281,9 +281,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
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_unittest.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698