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

Unified Diff: ios/chrome/browser/ios_chrome_main_parts.mm

Issue 2526043002: [ios] Implements even more of ChromiumBrowserProvider. (Closed)
Patch Set: fr Created 4 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/providers/chromium_browser_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ios_chrome_main_parts.mm
diff --git a/ios/chrome/browser/ios_chrome_main_parts.mm b/ios/chrome/browser/ios_chrome_main_parts.mm
index edc937382e9ef6c1553986f78649aca7a761fd3f..ab03d81031cbdfdf182db016864a20e4c26a0c1a 100644
--- a/ios/chrome/browser/ios_chrome_main_parts.mm
+++ b/ios/chrome/browser/ios_chrome_main_parts.mm
@@ -33,6 +33,7 @@
#include "components/variations/variations_switches.h"
#include "ios/chrome/browser/about_flags.h"
#include "ios/chrome/browser/application_context_impl.h"
+#include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state_manager.h"
#include "ios/chrome/browser/chrome_paths.h"
@@ -164,6 +165,7 @@ void IOSChromeMainParts::PreMainMessageLoopRun() {
CreateClipboardRecentContentIOS().release());
// Ensure that the browser state is initialized.
+ EnsureBrowserStateKeyedServiceFactoriesBuilt();
ios::GetChromeBrowserProvider()->AssertBrowserContextKeyedFactoriesBuilt();
ios::ChromeBrowserStateManager* browser_state_manager =
application_context_->GetChromeBrowserStateManager();
« no previous file with comments | « no previous file | ios/chrome/browser/providers/chromium_browser_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698