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

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

Issue 1463833002: [iOS] Unfork ChromeBrowserStateManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_delegate.cc » ('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 3d42d10d057abbd0fe55d0c1a6fe61ef1d439d92..9a6380d64122b6ecf3b5a081efb366cf5af469f7 100644
--- a/ios/chrome/browser/application_context_impl.cc
+++ b/ios/chrome/browser/application_context_impl.cc
@@ -87,7 +87,7 @@ void ApplicationContextImpl::OnAppEnterForeground() {
variations_service->OnAppEnterForeground();
std::vector<ios::ChromeBrowserState*> loaded_browser_state =
- GetChromeBrowserStateManager()->GetLoadedChromeBrowserStates();
+ GetChromeBrowserStateManager()->GetLoadedBrowserStates();
for (ios::ChromeBrowserState* browser_state : loaded_browser_state) {
browser_state->SetExitType(ios::ChromeBrowserState::EXIT_CRASHED);
}
@@ -97,7 +97,7 @@ void ApplicationContextImpl::OnAppEnterBackground() {
DCHECK(thread_checker_.CalledOnValidThread());
// Mark all the ChromeBrowserStates as clean and persist history.
std::vector<ios::ChromeBrowserState*> loaded_browser_state =
- GetChromeBrowserStateManager()->GetLoadedChromeBrowserStates();
+ GetChromeBrowserStateManager()->GetLoadedBrowserStates();
for (ios::ChromeBrowserState* browser_state : loaded_browser_state) {
if (history::HistoryService* history_service =
ios::HistoryServiceFactory::GetForBrowserStateIfExists(
« no previous file with comments | « no previous file | ios/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698