| Index: net/disk_cache/in_flight_io.h
|
| diff --git a/net/disk_cache/in_flight_io.h b/net/disk_cache/in_flight_io.h
|
| index 70a3d8cda174b14643fab62fb75a01b3caa25cee..6c5f8ab9e60af925b3b6c57548cad575ddb8a19d 100644
|
| --- a/net/disk_cache/in_flight_io.h
|
| +++ b/net/disk_cache/in_flight_io.h
|
| @@ -24,8 +24,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
|
| // is keeping track of all operations. When done, we notify the controller
|
| // (we do NOT invoke the callback), in the worker thead that completed the
|
| // operation.
|
| - explicit BackgroundIO(InFlightIO* controller)
|
| - : controller_(controller), result_(-1), io_completed_(true, false) {}
|
| + explicit BackgroundIO(InFlightIO* controller);
|
|
|
| // This method signals the controller that this operation is finished, in the
|
| // original thread. In practice, this is a RunableMethod that allows
|
| @@ -47,7 +46,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
|
| }
|
|
|
| protected:
|
| - virtual ~BackgroundIO() {}
|
| + virtual ~BackgroundIO();
|
|
|
| InFlightIO* controller_; // The controller that tracks all operations.
|
| int result_; // Final operation result.
|
| @@ -89,10 +88,8 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
|
| // of just waiting for step 7.
|
| class InFlightIO {
|
| public:
|
| - InFlightIO()
|
| - : callback_thread_(base::MessageLoopProxy::CreateForCurrentThread()),
|
| - running_(false), single_thread_(false) {}
|
| - virtual ~InFlightIO() {}
|
| + InFlightIO();
|
| + virtual ~InFlightIO();
|
|
|
| // Blocks the current thread until all IO operations tracked by this object
|
| // complete.
|
|
|