Chromium Code Reviews| 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..50541a11569b40b0f46b921f59e994988b3a04b3 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 = |
|
Olivier
2017/03/23 10:24:26
reindent in all files
gambard
2017/03/23 10:47:47
Done.
|
| ShareExtensionServiceFactory::GetForBrowserState(_mainBrowserState); |
| service->Initialize(); |
| - } |
| // Before bringing up the UI, make sure the launch mode is correct, and |
| // check for previous crashes. |