// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_API_SOCKET_MOJO_DATA_PUMP_H_ #define EXTENSIONS_BROWSER_API_SOCKET_MOJO_DATA_PUMP_H_ #include "base/memory/scoped_refptr.h" #include "extensions/browser/api/socket/socket.h" #include "mojo/public/cpp/system/data_pipe.h" #include "mojo/public/cpp/system/simple_watcher.h" #include "net/base/completion_once_callback.h" namespace net { class IOBuffer; } namespace extensions { // Helper class to read from a mojo consumer handle and write to mojo producer // handle. class MojoDataPump { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_API_SOCKET_MOJO_DATA_PUMP_H_