diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-07 05:39:31 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-07 05:39:31 +0000 |
commit | d93ad24560fc76f2d7912095aa6efd009a2e9b04 (patch) | |
tree | f05e06b60fcc62435ee9da27a88d5acd47c643af /chrome/browser/visitedlink/visitedlink_master.h | |
parent | cef3ea564024b93a2067742164feed870ee3fef2 (diff) | |
download | chromium_src-d93ad24560fc76f2d7912095aa6efd009a2e9b04.zip chromium_src-d93ad24560fc76f2d7912095aa6efd009a2e9b04.tar.gz chromium_src-d93ad24560fc76f2d7912095aa6efd009a2e9b04.tar.bz2 |
Revert 116816 - Hook up the SequencedWorkerPool to the browser thread.
This does some refactoring of the static data in the browser thread so we only have one global object instead of a bunch fo separate arrays.
It also hooks up the visited link master's I/O to use this new system as a proof of concept.
Review URL: http://codereview.chromium.org/9065009
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/9122022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink/visitedlink_master.h')
-rw-r--r-- | chrome/browser/visitedlink/visitedlink_master.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/visitedlink/visitedlink_master.h b/chrome/browser/visitedlink/visitedlink_master.h index 1771afe..c84e809 100644 --- a/chrome/browser/visitedlink/visitedlink_master.h +++ b/chrome/browser/visitedlink/visitedlink_master.h @@ -17,7 +17,6 @@ #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/shared_memory.h" -#include "base/threading/sequenced_worker_pool.h" #include "chrome/browser/history/history.h" #include "chrome/common/visitedlink_common.h" @@ -164,10 +163,6 @@ class VisitedLinkMaster : public VisitedLinkCommon { // File I/O functions // ------------------ - // Posts the given task to the blocking worker pool with our options. - void PostIOTask(const tracked_objects::Location& from_here, - const base::Closure& task); - // Writes the entire table to disk, returning true on success. It will leave // the table file open and the handle to it in file_ bool WriteFullTable(); @@ -317,9 +312,6 @@ class VisitedLinkMaster : public VisitedLinkCommon { // (it knows the path to where the data is stored) Profile* profile_; - // Lazily initialized sequence token for posting file tasks. - base::SequencedWorkerPool::SequenceToken sequence_token_; - // When non-NULL, indicates we are in database rebuild mode and points to // the class collecting fingerprint information from the history system. // The pointer is owned by this class, but it must remain valid while the |