diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 18:05:41 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 18:05:41 +0000 |
commit | c62dd9d42bd87964a131adc688d0c70f63cc4cac (patch) | |
tree | b57f3bc0843d2acace088498ecb40e0bfc213b6c /base/task.h | |
parent | b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9 (diff) | |
download | chromium_src-c62dd9d42bd87964a131adc688d0c70f63cc4cac.zip chromium_src-c62dd9d42bd87964a131adc688d0c70f63cc4cac.tar.gz chromium_src-c62dd9d42bd87964a131adc688d0c70f63cc4cac.tar.bz2 |
Delete Tracked, and move Location to its own file.
The Birth/Death tracking of tasks has been moved out-of-band into MessageLoop's PendingTask structure.
Thus, Task no longer needs to inherit from Tracked. Since Task was the only child of Tracked, delete the Tracked class and move Location to its own file.
BUG=none
TEST=builds
Review URL: http://codereview.chromium.org/7879006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/task.h')
-rw-r--r-- | base/task.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/task.h b/base/task.h index 3ff0640..4a33de0 100644 --- a/base/task.h +++ b/base/task.h @@ -10,7 +10,6 @@ #include "base/debug/alias.h" #include "base/memory/raw_scoped_refptr_mismatch_checker.h" #include "base/memory/weak_ptr.h" -#include "base/tracked.h" #include "base/tuple.h" namespace base { @@ -22,7 +21,7 @@ const size_t kDeadTask = 0xDEAD7A53; // A task is a generic runnable thingy, usually used for running code on a // different thread or for scheduling future tasks off of the message loop. -class BASE_EXPORT Task : public tracked_objects::Tracked { +class BASE_EXPORT Task { public: Task(); virtual ~Task(); |