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

Unified Diff: components/sync/driver/sync_stopped_reporter.cc

Issue 2657013002: Introduce ThreadTaskRunnerHandle::OverrideForTesting and TestMockTimeTaskRunner::ScopedContext. (Closed)
Patch Set: fix RecentTabHelperTest crash? Created 3 years, 10 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: components/sync/driver/sync_stopped_reporter.cc
diff --git a/components/sync/driver/sync_stopped_reporter.cc b/components/sync/driver/sync_stopped_reporter.cc
index 7daf57c25eba6a07d5b6d0d60b34291a11cafef0..5dd869cb833bacf5f988a4346e27a819da9b18b8 100644
--- a/components/sync/driver/sync_stopped_reporter.cc
+++ b/components/sync/driver/sync_stopped_reporter.cc
@@ -111,9 +111,4 @@ GURL SyncStoppedReporter::GetSyncEventURL(const GURL& sync_service_url) {
return sync_service_url.ReplaceComponents(replacements);
}
-void SyncStoppedReporter::SetTimerTaskRunnerForTest(
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
- timer_.SetTaskRunner(task_runner);
-}
-
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698