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

Unified Diff: base/message_loop_proxy.h

Issue 1702016: Changed UrlFetcher to use a MessageLoopProxy instead of directly relying on C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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/chrome_plugin_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop_proxy.h
===================================================================
--- base/message_loop_proxy.h (revision 46098)
+++ base/message_loop_proxy.h (working copy)
@@ -28,6 +28,9 @@
const tracked_objects::Location& from_here,
Task* task,
int64 delay_ms) = 0;
+ // A method which checks if the caller is currently running in the thread that
+ // this proxy represents.
+ virtual bool BelongsToCurrentThread() = 0;
template <class T>
bool DeleteSoon(const tracked_objects::Location& from_here,
« no previous file with comments | « no previous file | chrome/browser/chrome_plugin_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698