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

Unified Diff: chrome/browser/sync/glue/session_model_associator.h

Issue 10689157: Switch to TimeDelta interfaces for TestTimeouts in sync code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix error messaging again. Created 8 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
Index: chrome/browser/sync/glue/session_model_associator.h
diff --git a/chrome/browser/sync/glue/session_model_associator.h b/chrome/browser/sync/glue/session_model_associator.h
index bfb3271b854a2e60c1c229c9160438436b45a202..e87dd17b1426c9e16579b04a6898b15d0f88d9db 100644
--- a/chrome/browser/sync/glue/session_model_associator.h
+++ b/chrome/browser/sync/glue/session_model_associator.h
@@ -220,9 +220,9 @@ class SessionModelAssociator
static syncer::ModelType model_type() { return syncer::SESSIONS; }
// Testing only. Will cause the associator to call MessageLoop::Quit()
- // when a local change is made, or when timeout_milli occurs, whichever is
+ // when a local change is made, or when timeout occurs, whichever is
// first.
- void BlockUntilLocalChangeForTest(int64 timeout_milli);
+ void BlockUntilLocalChangeForTest(base::TimeDelta timeout);
// Callback for when the session name has been computed.
void OnSessionNameInitialized(const std::string& name);

Powered by Google App Engine
This is Rietveld 408576698