| Index: mojo/common/data_pipe_drainer.cc
|
| diff --git a/sky/engine/platform/fetcher/DataPipeDrainer.cpp b/mojo/common/data_pipe_drainer.cc
|
| similarity index 90%
|
| rename from sky/engine/platform/fetcher/DataPipeDrainer.cpp
|
| rename to mojo/common/data_pipe_drainer.cc
|
| index ce63e97d8b724e2e889e4d202d53f2c3fabcc9c4..b2075052db0560ee145d81e95ca26d4daf9f5d97 100644
|
| --- a/sky/engine/platform/fetcher/DataPipeDrainer.cpp
|
| +++ b/mojo/common/data_pipe_drainer.cc
|
| @@ -2,12 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "sky/engine/config.h"
|
| -#include "sky/engine/platform/fetcher/DataPipeDrainer.h"
|
| -
|
| +#include "mojo/common/data_pipe_drainer.h"
|
| #include "base/bind.h"
|
|
|
| -namespace blink {
|
| +namespace mojo {
|
| +namespace common {
|
|
|
| DataPipeDrainer::DataPipeDrainer(Client* client,
|
| mojo::ScopedDataPipeConsumerHandle source)
|
| @@ -49,4 +48,5 @@ void DataPipeDrainer::WaitComplete(MojoResult result) {
|
| ReadData();
|
| }
|
|
|
| -} // namespace blink
|
| +} // namespace common
|
| +} // namespace mojo
|
|
|