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

Unified Diff: trunk/src/sync/internal_api/test/fake_sync_manager.cc

Issue 23658030: Revert 222154 "sync: Gracefully handle very early shutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/sync/internal_api/test/fake_sync_manager.cc
===================================================================
--- trunk/src/sync/internal_api/test/fake_sync_manager.cc (revision 222204)
+++ trunk/src/sync/internal_api/test/fake_sync_manager.cc (working copy)
@@ -91,8 +91,7 @@
Encryptor* encryptor,
scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler,
ReportUnrecoverableErrorFunction report_unrecoverable_error_function,
- bool use_oauth2_token,
- CancelationSignal* cancelation_signal) {
+ bool use_oauth2_token) {
sync_task_runner_ = base::ThreadTaskRunnerHandle::Get();
PurgePartiallySyncedTypes();
@@ -210,6 +209,9 @@
// Do nothing.
}
+void FakeSyncManager::StopSyncingForShutdown() {
+}
+
void FakeSyncManager::ShutdownOnSyncThread() {
DCHECK(sync_task_runner_->RunsTasksOnCurrentThread());
test_user_share_.TearDown();

Powered by Google App Engine
This is Rietveld 408576698