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

Unified Diff: mojo/common/data_pipe_drainer.h

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.h
diff --git a/sky/engine/platform/fetcher/DataPipeDrainer.h b/mojo/common/data_pipe_drainer.h
similarity index 81%
rename from sky/engine/platform/fetcher/DataPipeDrainer.h
rename to mojo/common/data_pipe_drainer.h
index 2f6ce6495d453823127e9320fce2fc5995d4ec91..c9669be7a8564ff0de6f39dc4bb21ebbd4f47489 100644
--- a/sky/engine/platform/fetcher/DataPipeDrainer.h
+++ b/mojo/common/data_pipe_drainer.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SKY_ENGINE_PLATFORM_FETCHER_DATAPIPEDRAINER_H_
-#define SKY_ENGINE_PLATFORM_FETCHER_DATAPIPEDRAINER_H_
+#ifndef MOJO_COMMON_DATA_PIPE_DRAINER_H_
+#define MOJO_COMMON_DATA_PIPE_DRAINER_H_
#include "base/memory/weak_ptr.h"
#include "mojo/common/handle_watcher.h"
#include "mojo/public/cpp/system/core.h"
-namespace blink {
+namespace mojo {
+namespace common {
class DataPipeDrainer {
public:
@@ -39,6 +40,7 @@ class DataPipeDrainer {
DISALLOW_COPY_AND_ASSIGN(DataPipeDrainer);
};
-} // namespace blink
+} // namespace common
+} // namespace mojo
-#endif // SKY_ENGINE_PLATFORM_FETCHER_DATAPIPEDRAINER_H_
+#endif // MOJO_COMMON_DATA_PIPE_DRAINER_H_

Powered by Google App Engine
This is Rietveld 408576698