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

Unified Diff: base/threading/sequenced_worker_pool.h

Issue 9065009: Hook up the SequencedWorkerPool to the browser thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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/threading/sequenced_worker_pool.h
===================================================================
--- base/threading/sequenced_worker_pool.h (revision 116082)
+++ base/threading/sequenced_worker_pool.h (working copy)
@@ -93,6 +93,10 @@
explicit SequenceToken() : id_(0) {}
~SequenceToken() {}
+ // Returns true if this is a null sequence token. The null sequence token
+ // has not been initialized.
+ bool is_null() const { return id_ == 0; }
+
bool Equals(const SequenceToken& other) const {
return id_ == other.id_;
}
« no previous file with comments | « no previous file | chrome/browser/visitedlink/visitedlink_master.h » ('j') | content/public/browser/browser_thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698