| Index: net/base/file_stream_posix.cc
|
| ===================================================================
|
| --- net/base/file_stream_posix.cc (revision 70312)
|
| +++ net/base/file_stream_posix.cc (working copy)
|
| @@ -21,8 +21,8 @@
|
| #include "base/message_loop.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/string_util.h"
|
| +#include "base/threading/worker_pool.h"
|
| #include "base/waitable_event.h"
|
| -#include "base/worker_pool.h"
|
| #include "net/base/net_errors.h"
|
|
|
| // We cast back and forth, so make sure it's the size we're expecting.
|
| @@ -250,11 +250,11 @@
|
| DCHECK(!callback_);
|
| callback_ = callback;
|
|
|
| - WorkerPool::PostTask(FROM_HERE,
|
| - new BackgroundReadTask(
|
| - file, buf, buf_len,
|
| - &background_io_completed_callback_),
|
| - true /* task_is_slow */);
|
| + base::WorkerPool::PostTask(FROM_HERE,
|
| + new BackgroundReadTask(
|
| + file, buf, buf_len,
|
| + &background_io_completed_callback_),
|
| + true /* task_is_slow */);
|
| }
|
|
|
| void FileStream::AsyncContext::InitiateAsyncWrite(
|
| @@ -263,11 +263,11 @@
|
| DCHECK(!callback_);
|
| callback_ = callback;
|
|
|
| - WorkerPool::PostTask(FROM_HERE,
|
| - new BackgroundWriteTask(
|
| - file, buf, buf_len,
|
| - &background_io_completed_callback_),
|
| - true /* task_is_slow */);
|
| + base::WorkerPool::PostTask(FROM_HERE,
|
| + new BackgroundWriteTask(
|
| + file, buf, buf_len,
|
| + &background_io_completed_callback_),
|
| + true /* task_is_slow */);
|
| }
|
|
|
| void FileStream::AsyncContext::OnBackgroundIOCompleted(int result) {
|
|
|