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

Unified Diff: ios/chrome/app/startup_tasks.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/main_controller.mm ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/startup_tasks.mm
diff --git a/ios/chrome/app/startup_tasks.mm b/ios/chrome/app/startup_tasks.mm
index bbf847ca7a7a90e9cb3c3dd9066293452f705374..47eda0d35aa53ead1597b8401f45145ff4794161 100644
--- a/ios/chrome/app/startup_tasks.mm
+++ b/ios/chrome/app/startup_tasks.mm
@@ -9,7 +9,6 @@
#import "base/ios/weak_nsobject.h"
#import "base/mac/bind_objc_block.h"
#include "components/bookmarks/browser/startup_task_runner_service.h"
-#include "components/reading_list/core/reading_list_switches.h"
#import "ios/chrome/app/deferred_initialization_runner.h"
#include "ios/chrome/app/tests_hook.h"
#include "ios/chrome/browser/application_context.h"
@@ -84,10 +83,8 @@ NSString* const kStartProfileStartupTaskRunners =
(ios::ChromeBrowserState*)browserState {
ios::StartupTaskRunnerServiceFactory::GetForBrowserState(browserState)
->StartDeferredTaskRunners();
- if (reading_list::switches::IsReadingListEnabled()) {
- ReadingListDownloadServiceFactory::GetForBrowserState(browserState)
- ->Initialize();
- }
+ ReadingListDownloadServiceFactory::GetForBrowserState(browserState)
+ ->Initialize();
}
- (void)applicationWillResignActiveNotification:(NSNotification*)notification {
« no previous file with comments | « ios/chrome/app/main_controller.mm ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698