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

Unified Diff: chrome/browser/sync/test/integration/sync_app_helper.cc

Issue 9977021: Add ExtensionSytem::Get(Profile*) as a wrapper around (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: chrome/browser/sync/test/integration/sync_app_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_app_helper.cc b/chrome/browser/sync/test/integration/sync_app_helper.cc
index aa637182de26fffa1880645331578b8fdf24782d..efa61c74dff62b10434b0ce2c80194b7039b1f02 100644
--- a/chrome/browser/sync/test/integration/sync_app_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_app_helper.cc
@@ -6,7 +6,6 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_system.h"
-#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/extensions/extension_sorting.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/test/integration/extensions_helper.h"
@@ -94,9 +93,9 @@ void SyncAppHelper::SetupIfNecessary(SyncTest* test) {
return;
for (int i = 0; i < test->num_clients(); ++i) {
- ExtensionSystemFactory::GetForProfile(test->GetProfile(i))->Init(true);
+ ExtensionSystem::Get(test->GetProfile(i))->Init(true);
}
- ExtensionSystemFactory::GetForProfile(test->verifier())->Init(true);
+ ExtensionSystem::Get(test->verifier())->Init(true);
setup_completed_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698