| Index: chrome/browser/download/download_extension_test.cc
|
| ===================================================================
|
| --- chrome/browser/download/download_extension_test.cc (revision 140592)
|
| +++ chrome/browser/download/download_extension_test.cc (working copy)
|
| @@ -28,6 +28,7 @@
|
| #include "net/base/net_util.h"
|
| #include "ui/gfx/codec/png_codec.h"
|
|
|
| +using content::BrowserContext;
|
| using content::BrowserThread;
|
| using content::DownloadItem;
|
| using content::DownloadManager;
|
| @@ -75,9 +76,7 @@
|
| }
|
|
|
| virtual DownloadManager* GetDownloadManager() {
|
| - DownloadService* download_service =
|
| - DownloadServiceFactory::GetForProfile(current_browser()->profile());
|
| - return download_service->GetDownloadManager();
|
| + return BrowserContext::GetDownloadManager(current_browser()->profile());
|
| }
|
|
|
| // Creates a set of history downloads based on the provided |history_info|
|
|
|