| Index: ios/chrome/browser/reading_list/url_downloader_unittest.cc
|
| diff --git a/ios/chrome/browser/reading_list/url_downloader_unittest.cc b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
|
| index e5df3edc50d6fce3d3b3a99204fb668ce027bb2e..aec9ca146e59b73cfdb761de7c0119ba96edc01b 100644
|
| --- a/ios/chrome/browser/reading_list/url_downloader_unittest.cc
|
| +++ b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #import "base/test/ios/wait_util.h"
|
| #include "ios/chrome/browser/chrome_paths.h"
|
| #include "ios/chrome/browser/dom_distiller/distiller_viewer.h"
|
| +#include "ios/chrome/browser/reading_list/offline_url_utils.h"
|
| #include "ios/web/public/test/test_web_thread_bundle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -47,7 +48,8 @@ class MockURLDownloader : public URLDownloader {
|
| base::Unretained(this))) {}
|
|
|
| void RemoveOfflineFilesDirectory() {
|
| - base::DeleteFile(OfflineRootDirectoryPath(), true);
|
| + base::DeleteFile(reading_list::OfflineRootDirectoryPath(base_directory_),
|
| + true);
|
| }
|
|
|
| void ClearCompletionTrackers() {
|
| @@ -56,7 +58,8 @@ class MockURLDownloader : public URLDownloader {
|
| }
|
|
|
| bool CheckExistenceOfOfflineURLPagePath(const GURL& url) {
|
| - return base::PathExists(OfflinePageAbsolutePath(url));
|
| + return base::PathExists(
|
| + reading_list::OfflinePageAbsolutePath(base_directory_, url));
|
| }
|
|
|
| void FakeWorking() { working_ = true; }
|
|
|