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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc

Issue 437683002: Wire sync shutdown reason from PSS all the way down to sync manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/glue/sync_backend_host_impl_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
index 7d61958304bcbf9a1d9f050dbc3b212165427cce..5adc33ebb0897685851a1d7ed8976ecae7815790 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
@@ -192,7 +192,7 @@ class SyncBackendHostTest : public testing::Test {
virtual void TearDown() OVERRIDE {
if (backend_) {
backend_->StopSyncingForShutdown();
- backend_->Shutdown(SyncBackendHost::STOP);
+ backend_->Shutdown(syncer::STOP_SYNC);
}
backend_.reset();
sync_prefs_.reset();
@@ -714,7 +714,7 @@ TEST_F(SyncBackendHostTest, AttemptForwardLocalRefreshRequestLate) {
fake_manager_->WaitForSyncThread();
EXPECT_FALSE(types.Equals(fake_manager_->GetLastRefreshRequestTypes()));
- backend_->Shutdown(SyncBackendHost::STOP);
+ backend_->Shutdown(syncer::STOP_SYNC);
backend_.reset();
}
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl.cc ('k') | chrome/browser/sync/glue/sync_backend_host_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698