arc: Move platform2/arc/network/ to platform2/patchpanel
Next step in the arc-networkd -> patchpanel rename, this patch moves the
location of the code.
BUG=b:151879931
TEST=units,flashed image to atlas
TEST=tasts arc.PlayStore, crostini.LaunchTerminal.download
Change-Id: I1b5cf8d670e1631d46f6449b725395157bf88dde
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2115863
Tested-by: Garrick Evans <garrick@chromium.org>
Commit-Queue: Garrick Evans <garrick@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Hugo Benichi <hugobenichi@google.com>
diff --git a/system-proxy/server_proxy.h b/system-proxy/server_proxy.h
index f5bc346..57da525 100644
--- a/system-proxy/server_proxy.h
+++ b/system-proxy/server_proxy.h
@@ -17,10 +17,10 @@
#include <brillo/asynchronous_signal_handler.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
-namespace arc_networkd {
+namespace patchpanel {
class Socket;
class SocketForwarder;
-} // namespace arc_networkd
+} // namespace patchpanel
namespace system_proxy {
@@ -73,7 +73,7 @@
// corresponds to the tunnel between the client and the server that has
// started to forward data. In case of failure, |fwd| is empty.
void OnConnectionSetupFinished(
- std::unique_ptr<arc_networkd::SocketForwarder> fwd,
+ std::unique_ptr<patchpanel::SocketForwarder> fwd,
ProxyConnectJob* connect_job);
// Called when the proxy resolution result for |target_url| is received via
@@ -91,13 +91,13 @@
// encoded and separated by colon.
std::string credentials_;
- std::unique_ptr<arc_networkd::Socket> listening_fd_;
+ std::unique_ptr<patchpanel::Socket> listening_fd_;
// List of SocketForwarders that corresponds to the TCP tunnel between the
// local client and the remote proxy, forwarding data between the TCP
// connection initiated by the local client to the local proxy and the TCP
// connection initiated by the local proxy to the remote proxy.
- std::list<std::unique_ptr<arc_networkd::SocketForwarder>> forwarders_;
+ std::list<std::unique_ptr<patchpanel::SocketForwarder>> forwarders_;
std::map<ProxyConnectJob*, std::unique_ptr<ProxyConnectJob>>
pending_connect_jobs_;