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

Unified Diff: components/reading_list/reading_list_store.cc

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: fix Created 4 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: components/reading_list/reading_list_store.cc
diff --git a/ios/chrome/browser/reading_list/reading_list_store.cc b/components/reading_list/reading_list_store.cc
similarity index 98%
rename from ios/chrome/browser/reading_list/reading_list_store.cc
rename to components/reading_list/reading_list_store.cc
index 0c4ca2b0314d69ded9ffadecb5e40c2ea90d8438..2159d4dc86e0794e6d8097e18c2bfada0f6ac545 100644
--- a/ios/chrome/browser/reading_list/reading_list_store.cc
+++ b/components/reading_list/reading_list_store.cc
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ios/chrome/browser/reading_list/reading_list_store.h"
+#include "components/reading_list/reading_list_store.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
+#include "components/reading_list/proto/reading_list.pb.h"
+#include "components/reading_list/reading_list_model_impl.h"
#include "components/sync/model/entity_change.h"
#include "components/sync/model/metadata_batch.h"
#include "components/sync/model/metadata_change_list.h"
@@ -14,9 +16,6 @@
#include "components/sync/model/mutable_data_batch.h"
#include "components/sync/model_impl/accumulating_metadata_change_list.h"
#include "components/sync/protocol/model_type_state.pb.h"
-#include "ios/chrome/browser/reading_list/proto/reading_list.pb.h"
-#include "ios/chrome/browser/reading_list/reading_list_model_impl.h"
-#include "ios/web/public/web_thread.h"
ReadingListStore::ReadingListStore(
StoreFactoryFunction create_store_callback,

Powered by Google App Engine
This is Rietveld 408576698