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

Unified Diff: chrome/browser/policy/delayed_work_scheduler.h

Issue 7264019: Readability review for gfeher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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/policy/logging_work_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/delayed_work_scheduler.h
diff --git a/chrome/browser/policy/delayed_work_scheduler.h b/chrome/browser/policy/delayed_work_scheduler.h
index 1b03205104166d7dd7f15a72cc586c5e9cf11e54..8dd543eac4109cdb7ac4e4a5aec1ffc5be2da62d 100644
--- a/chrome/browser/policy/delayed_work_scheduler.h
+++ b/chrome/browser/policy/delayed_work_scheduler.h
@@ -13,6 +13,8 @@ namespace policy {
// A mockable class for scheduling and cancelling a delayed task.
// This is only a thin wrapper around base::OneShotTimer.
+// This class is not thread-safe: all its methods should be called on the same
+// thread, and the callback will happen on that same thread.
class DelayedWorkScheduler {
public:
DelayedWorkScheduler();
« no previous file with comments | « no previous file | chrome/browser/policy/logging_work_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698