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

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

Issue 11037007: [Sync] Require ProfileSyncService to have an uninitialized backend on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/profile_sync_service_autofill_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
index 031fbb7cc2b82709a50e7c78d929fcf2f63fa191..ba4d95de557f5ed94d0f8f5962506c29fd63743e 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -389,6 +389,7 @@ class ProfileSyncServiceAutofillTest : public AbstractProfileSyncServiceTest {
virtual void TearDown() OVERRIDE {
// Note: The tear down order is important.
+ service_->Shutdown();
service_.reset();
web_data_service_->ShutdownSyncableService();
profile_->ResetRequestContext();

Powered by Google App Engine
This is Rietveld 408576698