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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 8351052: Created a DownloadManager interface, for use in unit tests.. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved comment. 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
Index: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index d1876ebce586d1fa7719e96159f032b3779b4f4c..8b21a065e8dce3125b7bf77abba8eece75721bb2 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -167,7 +167,7 @@ class DownloadsHistoryDataCollector {
: result_valid_(false),
download_db_handle_(download_db_handle) {
HistoryService* hs =
- Profile::FromBrowserContext(manager->browser_context())->
+ Profile::FromBrowserContext(manager->BrowserContext())->
GetHistoryService(Profile::EXPLICIT_ACCESS);
DCHECK(hs);
hs->QueryDownloads(

Powered by Google App Engine
This is Rietveld 408576698