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

Unified Diff: extensions/common/one_shot_event.h

Issue 217233004: Revert of Remove ExtensionService Garbage-Collecting methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | « chrome/common/extensions/extension_file_util_unittest.cc ('k') | extensions/common/one_shot_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/one_shot_event.h
diff --git a/extensions/common/one_shot_event.h b/extensions/common/one_shot_event.h
index 49031243ab9f2b712c05154618cc51b15b75e8bd..9baa152d2c5ce96924978c451efb4efd8bdb557e 100644
--- a/extensions/common/one_shot_event.h
+++ b/extensions/common/one_shot_event.h
@@ -15,7 +15,6 @@
namespace base {
class TaskRunner;
-class TimeDelta;
}
namespace tracked_objects {
@@ -56,10 +55,8 @@
void Signal();
// Scheduled |task| to be called on |runner| after is_signaled()
- // becomes true. If called with |delay|, then the task will happen
- // (roughly) |delay| after is_signaled(), *not* |delay| after the
- // post. Inside |task|, if this OneShotEvent is still alive,
- // CHECK(is_signaled()) will never fail (which implies that
+ // becomes true. Inside |task|, if this OneShotEvent is still
+ // alive, CHECK(is_signaled()) will never fail (which implies that
// OneShotEvent::Reset() doesn't exist).
//
// If |*this| is destroyed before being released, none of these
@@ -81,17 +78,9 @@
void Post(const tracked_objects::Location& from_here,
const base::Closure& task,
const scoped_refptr<base::TaskRunner>& runner) const;
- void PostDelayed(const tracked_objects::Location& from_here,
- const base::Closure& task,
- const base::TimeDelta& delay) const;
private:
struct TaskInfo;
-
- void PostImpl(const tracked_objects::Location& from_here,
- const base::Closure& task,
- const scoped_refptr<base::TaskRunner>& runner,
- const base::TimeDelta& delay) const;
base::ThreadChecker thread_checker_;
« no previous file with comments | « chrome/common/extensions/extension_file_util_unittest.cc ('k') | extensions/common/one_shot_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698