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

Unified Diff: chrome/browser/extensions/test_extension_system.cc

Issue 698553002: Split Blacklist from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 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/browser/extensions/test_extension_system.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/test_extension_system.cc
diff --git a/chrome/browser/extensions/test_extension_system.cc b/chrome/browser/extensions/test_extension_system.cc
index 7323e44cabd7fe3877b5159eeb921321b217424e..6d4ddec1987b861116b8b9ad7beb135be96422c7 100644
--- a/chrome/browser/extensions/test_extension_system.cc
+++ b/chrome/browser/extensions/test_extension_system.cc
@@ -87,7 +87,6 @@ ExtensionService* TestExtensionSystem::CreateExtensionService(
scoped_ptr<TestingValueStore> value_store(new TestingValueStore());
value_store_ = value_store.get();
state_store_.reset(new StateStore(profile_, value_store.Pass()));
- blacklist_.reset(new Blacklist(ExtensionPrefs::Get(profile_)));
management_policy_.reset(new ManagementPolicy());
management_policy_->RegisterProviders(
ExtensionManagementFactory::GetForBrowserContext(profile_)
@@ -97,7 +96,7 @@ ExtensionService* TestExtensionSystem::CreateExtensionService(
command_line,
install_directory,
ExtensionPrefs::Get(profile_),
- blacklist_.get(),
+ Blacklist::Get(profile_),
autoupdate_enabled,
true,
&ready_));
@@ -146,10 +145,6 @@ void TestExtensionSystem::SetEventRouter(scoped_ptr<EventRouter> event_router) {
EventRouter* TestExtensionSystem::event_router() { return event_router_.get(); }
-Blacklist* TestExtensionSystem::blacklist() {
- return blacklist_.get();
-}
-
ErrorConsole* TestExtensionSystem::error_console() {
return error_console_.get();
}
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698