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

Unified Diff: ios/chrome/app/main_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
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/app/startup_tasks.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/main_controller.mm
diff --git a/ios/chrome/app/main_controller.mm b/ios/chrome/app/main_controller.mm
index b32b6e850a2744571ace8481134e665e7d0df2ff..5d153bd0486d412d4d037a65b87d68f0bbcc6e8d 100644
--- a/ios/chrome/app/main_controller.mm
+++ b/ios/chrome/app/main_controller.mm
@@ -29,7 +29,6 @@
#include "components/metrics/metrics_pref_names.h"
#include "components/metrics/metrics_service.h"
#include "components/prefs/pref_change_registrar.h"
-#include "components/reading_list/core/reading_list_switches.h"
#include "components/signin/core/browser/signin_manager.h"
#include "components/url_formatter/url_formatter.h"
#include "components/web_resource/web_resource_pref_names.h"
@@ -700,11 +699,9 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO };
_spotlightManager.reset([[SpotlightManager
spotlightManagerWithBrowserState:_mainBrowserState] retain]);
- if (reading_list::switches::IsReadingListEnabled()) {
- ShareExtensionService* service =
- ShareExtensionServiceFactory::GetForBrowserState(_mainBrowserState);
- service->Initialize();
- }
+ ShareExtensionService* service =
+ ShareExtensionServiceFactory::GetForBrowserState(_mainBrowserState);
+ service->Initialize();
// Before bringing up the UI, make sure the launch mode is correct, and
// check for previous crashes.
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/app/startup_tasks.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698