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

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

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Master merge; moved class declaration Created 8 years, 5 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/webui/ntp/app_launcher_handler.cc ('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 81fa39cb6996283700f668b1147530b2a851d5be..aa471a87649479b555ec68b5bbc051452a0e478e 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -214,8 +214,8 @@ void TestingProfile::Init() {
if (!file_util::PathExists(profile_path_))
file_util::CreateDirectory(profile_path_);
- ExtensionSystemFactory::GetInstance()->SetTestingFactory(
- this, TestExtensionSystem::Build);
+ extensions::ExtensionSystemFactory::GetInstance()->SetTestingFactory(
+ this, extensions::TestExtensionSystem::Build);
profile_dependency_manager_->CreateProfileServices(this, true);
@@ -448,19 +448,19 @@ VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() {
}
ExtensionService* TestingProfile::GetExtensionService() {
- return ExtensionSystem::Get(this)->extension_service();
+ return extensions::ExtensionSystem::Get(this)->extension_service();
}
UserScriptMaster* TestingProfile::GetUserScriptMaster() {
- return ExtensionSystem::Get(this)->user_script_master();
+ return extensions::ExtensionSystem::Get(this)->user_script_master();
}
ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
- return ExtensionSystem::Get(this)->process_manager();
+ return extensions::ExtensionSystem::Get(this)->process_manager();
}
ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() {
- return ExtensionSystem::Get(this)->event_router();
+ return extensions::ExtensionSystem::Get(this)->event_router();
}
void TestingProfile::SetExtensionSpecialStoragePolicy(
@@ -552,7 +552,7 @@ net::URLRequestContextGetter* TestingProfile::GetRequestContext() {
net::URLRequestContextGetter* TestingProfile::GetRequestContextForRenderProcess(
int renderer_child_id) {
ExtensionService* extension_service =
- ExtensionSystem::Get(this)->extension_service();
+ extensions::ExtensionSystem::Get(this)->extension_service();
if (extension_service) {
const extensions::Extension* installed_app = extension_service->
GetInstalledAppForRenderer(renderer_child_id);
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698