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

Unified Diff: chrome/browser/android/offline_pages/test_offline_page_model_builder.cc

Issue 2011763005: Splits the OfflinePageModel into and interface and and implementation class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix to take ExpirePages defn out of model i/f as StorageManager defines it currently Created 4 years, 7 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/android/offline_pages/offline_page_model_factory.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/test_offline_page_model_builder.cc
diff --git a/chrome/browser/android/offline_pages/test_offline_page_model_builder.cc b/chrome/browser/android/offline_pages/test_offline_page_model_builder.cc
index 6641b06ee9edadd1c3cf2991df33f483713f4aee..8b7411f0d9272de3b807b29bbcdc5a75319ecf79 100644
--- a/chrome/browser/android/offline_pages/test_offline_page_model_builder.cc
+++ b/chrome/browser/android/offline_pages/test_offline_page_model_builder.cc
@@ -10,7 +10,7 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
#include "chrome/common/chrome_constants.h"
-#include "components/offline_pages/offline_page_model.h"
+#include "components/offline_pages/offline_page_model_impl.h"
#include "components/offline_pages/offline_page_test_store.h"
#include "content/public/browser/browser_context.h"
@@ -27,7 +27,7 @@ std::unique_ptr<KeyedService> BuildTestOfflinePageModel(
base::FilePath archives_dir =
context->GetPath().Append(chrome::kOfflinePageArchviesDirname);
- return std::unique_ptr<KeyedService>(new OfflinePageModel(
+ return std::unique_ptr<KeyedService>(new OfflinePageModelImpl(
std::move(metadata_store), archives_dir, task_runner));
}
« no previous file with comments | « chrome/browser/android/offline_pages/offline_page_model_factory.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698