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

Unified Diff: ios/chrome/browser/reading_list/reading_list_model_factory.cc

Issue 2774603002: Removes the IsReadingListEnabled flags (Closed)
Patch Set: fix tests Created 3 years, 9 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 | « ios/chrome/browser/reading_list/reading_list_model_factory.h ('k') | ios/chrome/browser/sync/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/reading_list_model_factory.cc
diff --git a/ios/chrome/browser/reading_list/reading_list_model_factory.cc b/ios/chrome/browser/reading_list/reading_list_model_factory.cc
index 9c883249816ddd0ca04ed10281511460fc0c9978..98e3eb83d08bb940c96e24389d892d3382695cc3 100644
--- a/ios/chrome/browser/reading_list/reading_list_model_factory.cc
+++ b/ios/chrome/browser/reading_list/reading_list_model_factory.cc
@@ -16,7 +16,6 @@
#include "components/reading_list/core/reading_list_model_impl.h"
#include "components/reading_list/core/reading_list_pref_names.h"
#include "components/reading_list/core/reading_list_store.h"
-#include "components/reading_list/core/reading_list_switches.h"
#include "components/sync/base/report_unrecoverable_error.h"
#include "ios/chrome/browser/browser_state/browser_state_otr_helper.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
@@ -25,11 +24,6 @@
#include "ios/web/public/web_thread.h"
// static
-bool ReadingListModelFactory::IsReadingListEnabled() {
- return reading_list::switches::IsReadingListEnabled();
-}
-
-// static
ReadingListModel* ReadingListModelFactory::GetForBrowserState(
ios::ChromeBrowserState* browser_state) {
return static_cast<ReadingListModelImpl*>(
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_model_factory.h ('k') | ios/chrome/browser/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698