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

Unified Diff: base/message_loop.h

Issue 9169037: Make new TaskRunner, SequencedTaskRunner, and SingleThreadTaskRunner interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 8 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: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index e14baa7b54d3846f80efb915996d2c03812b1fd2..467fd09b4863ad67955f2cbdc4638b88a31b8c13 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -12,9 +12,9 @@
#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/sequenced_task_runner_helpers.h"
willchan no longer on Chromium 2012/02/09 20:50:50 sort
akalin 2012/02/10 22:48:59 Done.
#include "base/location.h"
#include "base/memory/ref_counted.h"
-#include "base/message_loop_helpers.h"
#include "base/message_loop_proxy.h"
#include "base/message_pump.h"
#include "base/observer_list.h"
@@ -198,7 +198,7 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
// from RefCountedThreadSafe<T>!
template <class T>
void DeleteSoon(const tracked_objects::Location& from_here, const T* object) {
- base::subtle::DeleteHelperInternal<T, void>::DeleteOnMessageLoop(
+ base::subtle::DeleteHelperInternal<T, void>::DeleteViaSequencedTaskRunner(
this, from_here, object);
}
@@ -215,7 +215,7 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
template <class T>
void ReleaseSoon(const tracked_objects::Location& from_here,
const T* object) {
- base::subtle::ReleaseHelperInternal<T, void>::ReleaseOnMessageLoop(
+ base::subtle::ReleaseHelperInternal<T, void>::ReleaseViaSequencedTaskRunner(
this, from_here, object);
}
« no previous file with comments | « base/base.gypi ('k') | base/message_loop_helpers.h » ('j') | base/sequenced_task_runner.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698