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

Unified Diff: ios/chrome/browser/ui/activity_services/activity_service_controller.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/activity_services/activity_service_controller.mm
diff --git a/ios/chrome/browser/ui/activity_services/activity_service_controller.mm b/ios/chrome/browser/ui/activity_services/activity_service_controller.mm
index 40d9182ce4ab539fcf04486c5a86d571d9e991ea..190a962d6f096c4b8dc4d6b7aada7fadbc3c0aa7 100644
--- a/ios/chrome/browser/ui/activity_services/activity_service_controller.mm
+++ b/ios/chrome/browser/ui/activity_services/activity_service_controller.mm
@@ -8,7 +8,6 @@
#include "base/logging.h"
#include "base/mac/foundation_util.h"
-#include "components/reading_list/core/reading_list_switches.h"
#import "ios/chrome/browser/ui/activity_services/activity_type_util.h"
#import "ios/chrome/browser/ui/activity_services/appex_constants.h"
#import "ios/chrome/browser/ui/activity_services/chrome_activity_item_source.h"
@@ -218,8 +217,7 @@
[printActivity setResponder:controller];
[applicationActivities addObject:printActivity];
}
- if (reading_list::switches::IsReadingListEnabled() &&
- data.url.SchemeIsHTTPOrHTTPS()) {
+ if (data.url.SchemeIsHTTPOrHTTPS()) {
ReadingListActivity* readingListActivity =
[[ReadingListActivity alloc] initWithURL:data.url
title:data.title

Powered by Google App Engine
This is Rietveld 408576698