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

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

Issue 16018004: Clean up after moving ProfileKeyedService files to a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/test/base/testing_profile.h ('k') | no next file » | 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 f2dac8b0773988cc1f01eb52f94c565a4dfe1707..f4a747537a073ed55a4d441809f5bfbc52b923a2 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -172,7 +172,7 @@ TestingProfile::TestingProfile()
incognito_(false),
original_profile_(NULL),
last_session_exited_cleanly_(true),
- profile_dependency_manager_(
+ browser_context_dependency_manager_(
BrowserContextDependencyManager::GetInstance()),
delegate_(NULL) {
CreateTempProfileDir();
@@ -189,7 +189,7 @@ TestingProfile::TestingProfile(const base::FilePath& path)
original_profile_(NULL),
last_session_exited_cleanly_(true),
profile_path_(path),
- profile_dependency_manager_(
+ browser_context_dependency_manager_(
BrowserContextDependencyManager::GetInstance()),
delegate_(NULL) {
Init();
@@ -204,7 +204,7 @@ TestingProfile::TestingProfile(const base::FilePath& path,
original_profile_(NULL),
last_session_exited_cleanly_(true),
profile_path_(path),
- profile_dependency_manager_(
+ browser_context_dependency_manager_(
BrowserContextDependencyManager::GetInstance()),
delegate_(delegate) {
Init();
@@ -230,7 +230,7 @@ TestingProfile::TestingProfile(
last_session_exited_cleanly_(true),
extension_special_storage_policy_(extension_policy),
profile_path_(path),
- profile_dependency_manager_(
+ browser_context_dependency_manager_(
BrowserContextDependencyManager::GetInstance()),
delegate_(delegate) {
@@ -303,7 +303,7 @@ void TestingProfile::Init() {
extensions::ExtensionSystemFactory::GetInstance()->SetTestingFactory(
this, extensions::TestExtensionSystem::Build);
- profile_dependency_manager_->CreateBrowserContextServices(this, true);
+ browser_context_dependency_manager_->CreateBrowserContextServices(this, true);
#if defined(ENABLE_NOTIFICATIONS)
// Install profile keyed service factory hooks for dummy/test services
@@ -326,7 +326,7 @@ void TestingProfile::FinishInit() {
TestingProfile::~TestingProfile() {
MaybeSendDestroyedNotification();
- profile_dependency_manager_->DestroyBrowserContextServices(this);
+ browser_context_dependency_manager_->DestroyBrowserContextServices(this);
if (host_content_settings_map_)
host_content_settings_map_->ShutdownOnUIThread();
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698