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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 1741953002: mojo: Sketch a profile application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't add a boolean to BrowserContext; allocate an object instead. Created 4 years, 10 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 | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index defda283ca06aeccd37718eb2f455c5c2daaf49a..88970028335a7623f84317d38633e9282e49fe74 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -399,6 +399,8 @@ void TestingProfile::Init() {
set_is_guest_profile(guest_session_);
+ BrowserContext::Initialize(this, profile_path_);
+
#if defined(OS_ANDROID)
// Make sure token service knows its running in tests.
OAuth2TokenServiceDelegateAndroid::set_is_testing_profile();
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698