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

Unified Diff: ios/chrome/browser/application_context_impl.cc

Issue 1556493002: Remove now obsolete Shutdown method of ChromeBrowserStateManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome_browser_provider
Patch Set: Rebase on https://codereview.chromium.org/1554683003 Created 5 years 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 | « no previous file | ios/public/provider/chrome/browser/browser_state/chrome_browser_state_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/application_context_impl.cc
diff --git a/ios/chrome/browser/application_context_impl.cc b/ios/chrome/browser/application_context_impl.cc
index 1d56841c07ce2a4f241d5dae1a2e1777b7c97a92..eee2f06fa24e1e497af51d003213a1f2f39606f8 100644
--- a/ios/chrome/browser/application_context_impl.cc
+++ b/ios/chrome/browser/application_context_impl.cc
@@ -133,12 +133,7 @@ void ApplicationContextImpl::StartTearDown() {
metrics_services_manager_.reset();
// Need to clear browser states before the IO thread.
- if (chrome_browser_state_manager_) {
- // TODO(crbug.com/560854): the ShutDown() method can be folded into the
- // destructor once ApplicationContextImpl owns ChromeBrowserStateManager.
- chrome_browser_state_manager_->ShutDown();
- chrome_browser_state_manager_.reset();
- }
+ chrome_browser_state_manager_.reset();
// PromoResourceService must be destroyed after the keyed services and before
// the IO thread.
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/browser_state/chrome_browser_state_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698