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

Unified Diff: chrome/browser/sync/sync_setup_wizard_unittest.cc

Issue 9232011: sync: Make ProfileSyncService a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 years, 11 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/sync_setup_wizard_unittest.cc
diff --git a/chrome/browser/sync/sync_setup_wizard_unittest.cc b/chrome/browser/sync/sync_setup_wizard_unittest.cc
index 90ccf02f07bddca8bf312cc88bc449fba4357ef0..90df4ab9c580b430f06c5417a080826b8aab212a 100644
--- a/chrome/browser/sync/sync_setup_wizard_unittest.cc
+++ b/chrome/browser/sync/sync_setup_wizard_unittest.cc
@@ -90,10 +90,9 @@ class SigninManagerMock : public FakeSigninManager {
// A PSS subtype to inject.
class ProfileSyncServiceForWizardTest : public ProfileSyncService {
public:
- ProfileSyncServiceForWizardTest(ProfileSyncComponentsFactory* factory,
- Profile* profile,
+ ProfileSyncServiceForWizardTest(Profile* profile,
ProfileSyncService::StartBehavior behavior)
- : ProfileSyncService(factory, profile, NULL, behavior),
+ : ProfileSyncService(NULL, profile, NULL, behavior),
user_cancelled_dialog_(false),
is_using_secondary_passphrase_(false),
encrypt_everything_(false) {
@@ -187,7 +186,7 @@ class TestingProfileWithSyncService : public TestingProfile {
explicit TestingProfileWithSyncService(
ProfileSyncService::StartBehavior behavior) {
sync_service_.reset(new ProfileSyncServiceForWizardTest(
- &factory_, this, behavior));
+ this, behavior));
}
virtual ProfileSyncService* GetProfileSyncService() {

Powered by Google App Engine
This is Rietveld 408576698