diff options
author | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 22:20:58 +0000 |
---|---|---|
committer | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 22:20:58 +0000 |
commit | e70ccebc9ab3e2012d81e53ac4ce7c87b8a25249 (patch) | |
tree | ee324382c39a781b3504e84c5f79bbfa893da5b8 /chrome/browser/sync/test | |
parent | 070e54cb1d487785e7c48769563e1a3bded5bf9c (diff) | |
download | chromium_src-e70ccebc9ab3e2012d81e53ac4ce7c87b8a25249.zip chromium_src-e70ccebc9ab3e2012d81e53ac4ce7c87b8a25249.tar.gz chromium_src-e70ccebc9ab3e2012d81e53ac4ce7c87b8a25249.tar.bz2 |
Re-land: Address leftover comments from changes to ProfileSyncService to restart sync
This patch contains fixes for the last bits of feedback from http://codereview.chromium.org/9317091
BUG=112644
TEST=*SyncTest.RestartSyncService
Originally committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123791
Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=123793
Review URL: https://chromiumcodereview.appspot.com/9466023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123813 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/test')
-rw-r--r-- | chrome/browser/sync/test/integration/sync_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc index 6a1debf..77bda23 100644 --- a/chrome/browser/sync/test/integration/sync_test.cc +++ b/chrome/browser/sync/test/integration/sync_test.cc @@ -327,7 +327,7 @@ void SyncTest::RestartSyncService(int index) { Profile* profile = GetProfile(index); ProfileSyncService* service = ProfileSyncServiceFactory::GetForProfile(profile); - ProfileSyncService::ResetForTest(service); + service->ResetForTest(); clients_[index] = new ProfileSyncServiceHarness(profile, username_, password_); |