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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 7859001: Added ability to set ChromeDownloadManagerDelegate for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to TOT. Again. Created 9 years, 3 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/test/base/testing_profile.h ('k') | content/browser/download/download_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index dcb57ef6032245445e9e8404b4c2668a6f55dd51..5d035a48774fc6fc0ed254631859cd9cd6fd1124 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -786,6 +786,13 @@ prerender::PrerenderManager* TestingProfile::GetPrerenderManager() {
return prerender_manager_.get();
}
+void TestingProfile::SetDownloadManagerDelegate(
+ ChromeDownloadManagerDelegate* delegate) {
+ // Specially marked so errors from use will occur near to the site
+ // of the error.
+ NOTIMPLEMENTED();
+}
+
PrefService* TestingProfile::GetOffTheRecordPrefs() {
return NULL;
}
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | content/browser/download/download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698