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

Unified Diff: ios/chrome/browser/sync/ios_chrome_sync_client.mm

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
Index: ios/chrome/browser/sync/ios_chrome_sync_client.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index 0c5c8ee2058eed542ca7b4218081ec0ec3ad7291..949d4bc7d33527da7ffd996a2daae149295572f5 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -28,7 +28,6 @@
#include "components/password_manager/core/browser/password_store.h"
#include "components/password_manager/sync/browser/password_model_worker.h"
#include "components/reading_list/core/reading_list_model.h"
-#include "components/reading_list/core/reading_list_switches.h"
#include "components/search_engines/search_engine_data_type_controller.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
#include "components/sync/base/report_unrecoverable_error.h"
@@ -352,7 +351,6 @@ IOSChromeSyncClient::GetSyncBridgeForModelType(syncer::ModelType type) {
->GetDeviceInfoSyncBridge()
->AsWeakPtr();
case syncer::READING_LIST: {
- DCHECK(reading_list::switches::IsReadingListEnabled());
ReadingListModel* reading_list_model =
ReadingListModelFactory::GetForBrowserState(browser_state_);
return reading_list_model->GetModelTypeSyncBridge()->AsWeakPtr();
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory_unittest.cc ('k') | ios/chrome/browser/tabs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698