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

Unified Diff: mojo/common/data_pipe_drainer.cc

Issue 811873003: Move Sky's DataPipeDrainer to mojo/common (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: 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

Powered by Google App Engine
This is Rietveld 408576698