// 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 CHROME_TEST_CHROMEDRIVER_LOG_REPLAY_LOG_REPLAY_SOCKET_H_ #define CHROME_TEST_CHROMEDRIVER_LOG_REPLAY_LOG_REPLAY_SOCKET_H_ #include <string> #include "chrome/test/chromedriver/log_replay/devtools_log_reader.h" #include "chrome/test/chromedriver/net/sync_websocket.h" // A "WebSocket" class for getting commands from a log file. // // Instead of communicating with DevTools, this implementation looks up the // intended results of commands in a ChromeDriver log file. This enables the // DevTools-side commands and responses to be replayed from a past session. class LogReplaySocket : public SyncWebSocket { … }; #endif // CHROME_TEST_CHROMEDRIVER_LOG_REPLAY_LOG_REPLAY_SOCKET_H_