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

Unified Diff: ios/chrome/browser/ui/reading_list/offline_page_native_content.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/ui/reading_list/offline_page_native_content.mm
diff --git a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
index 0b37551df0f63a092a2dad474e2c2501c3ef57ff..f9d84e5442ecd5573d4a64012a064b805bdd00cd 100644
--- a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
+++ b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
@@ -6,7 +6,6 @@
#include "base/files/file_path.h"
#include "base/logging.h"
-#include "components/reading_list/core/reading_list_switches.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/reading_list/offline_url_utils.h"
#include "ios/chrome/browser/reading_list/reading_list_download_service.h"
@@ -50,7 +49,6 @@
DCHECK(browserState);
DCHECK(URL.is_valid());
- DCHECK(reading_list::switches::IsReadingListEnabled());
base::FilePath offline_root =
ReadingListDownloadServiceFactory::GetForBrowserState(
ios::ChromeBrowserState::FromBrowserState(browserState))

Powered by Google App Engine
This is Rietveld 408576698