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

Unified Diff: chrome/browser/sync_file_system/sync_process_runner.h

Issue 378223002: [SyncFS] Make base::TimeTicks::Now() dependency in SyncProcessRunner injectable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/sync_process_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_process_runner.h
diff --git a/chrome/browser/sync_file_system/sync_process_runner.h b/chrome/browser/sync_file_system/sync_process_runner.h
index 13c4bd163c463988070c4e59aab052bd1cf81f92..00155b0e6b1b378278feb18df8830f53793ed1f3 100644
--- a/chrome/browser/sync_file_system/sync_process_runner.h
+++ b/chrome/browser/sync_file_system/sync_process_runner.h
@@ -40,6 +40,7 @@ class SyncProcessRunner {
virtual void Start(const tracked_objects::Location& from_here,
const base::TimeDelta& delay,
const base::Closure& closure) = 0;
+ virtual base::TimeTicks Now() const = 0;
protected:
TimerHelper() {}
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/sync_process_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698