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

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

Issue 8333021: Fix a crash in PageActionImageView when extensions are reloaded due to incognito settings changing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « 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
===================================================================
--- chrome/test/base/testing_profile.cc (revision 108847)
+++ chrome/test/base/testing_profile.cc (working copy)
@@ -345,6 +345,10 @@
this, BuildTemplateURLService);
}
+void TestingProfile::CreateExtensionProcessManager() {
+ extension_process_manager_.reset(ExtensionProcessManager::Create(this));
+}
+
ExtensionService* TestingProfile::CreateExtensionService(
const CommandLine* command_line,
const FilePath& install_directory,
@@ -448,7 +452,7 @@
}
ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
- return NULL;
+ return extension_process_manager_.get();
}
ExtensionMessageService* TestingProfile::GetExtensionMessageService() {
« 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