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

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

Issue 1953203002: switch to SQL for metadata storage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/offline_page_model_factory.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_model_factory.cc b/chrome/browser/android/offline_pages/offline_page_model_factory.cc
index 1afa51db5098b9654405b4dddca50c7fac98168c..8eccae0958d35717d4761c4363b93b882437727b 100644
--- a/chrome/browser/android/offline_pages/offline_page_model_factory.cc
+++ b/chrome/browser/android/offline_pages/offline_page_model_factory.cc
@@ -14,7 +14,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_constants.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
-#include "components/offline_pages/offline_page_metadata_store_impl.h"
+#include "components/offline_pages/offline_page_metadata_store_sql.h"
#include "components/offline_pages/offline_page_model.h"
#include "components/offline_pages/proto/offline_pages.pb.h"
#include "content/public/browser/browser_thread.h"
@@ -48,8 +48,8 @@ KeyedService* OfflinePageModelFactory::BuildServiceInstanceFor(
base::FilePath store_path =
profile->GetPath().Append(chrome::kOfflinePageMetadataDirname);
- std::unique_ptr<OfflinePageMetadataStoreImpl> metadata_store(
- new OfflinePageMetadataStoreImpl(background_task_runner, store_path));
+ std::unique_ptr<OfflinePageMetadataStore> metadata_store(
+ new OfflinePageMetadataStoreSQL(background_task_runner, store_path));
base::FilePath archives_dir =
profile->GetPath().Append(chrome::kOfflinePageArchviesDirname);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698