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

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

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.h
diff --git a/components/sync/driver/sync_stopped_reporter.h b/components/sync/driver/sync_stopped_reporter.h
index 856f87e7e5b6dabe8d0bad06c23aa7ec846b0639..af21975221422279fb29639017e528a45f0269fd 100644
--- a/components/sync/driver/sync_stopped_reporter.h
+++ b/components/sync/driver/sync_stopped_reporter.h
@@ -43,10 +43,6 @@ class SyncStoppedReporter : public net::URLFetcherDelegate {
// net::URLFetcherDelegate implementation.
void OnURLFetchComplete(const net::URLFetcher* source) override;
- // Override the timer's task runner so it can be triggered in tests.
- void SetTimerTaskRunnerForTest(
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
-
private:
// Convert the base sync URL into the sync event URL.
static GURL GetSyncEventURL(const GURL& sync_service_url);

Powered by Google App Engine
This is Rietveld 408576698