#include "chrome/test/chromedriver/chrome/network_conditions_override_manager.h"
#include "chrome/test/chromedriver/chrome/devtools_client.h"
#include "chrome/test/chromedriver/chrome/network_conditions.h"
#include "chrome/test/chromedriver/chrome/status.h"
NetworkConditionsOverrideManager::NetworkConditionsOverrideManager(
DevToolsClient* client)
: … { … }
NetworkConditionsOverrideManager::~NetworkConditionsOverrideManager() { … }
Status NetworkConditionsOverrideManager::OverrideNetworkConditions(
const NetworkConditions& network_conditions) { … }
Status NetworkConditionsOverrideManager::OnConnected(DevToolsClient* client) { … }
Status NetworkConditionsOverrideManager::OnEvent(
DevToolsClient* client,
const std::string& method,
const base::Value::Dict& params) { … }
Status NetworkConditionsOverrideManager::ApplyOverrideIfNeeded() { … }
Status NetworkConditionsOverrideManager::ApplyOverride(
const NetworkConditions* network_conditions) { … }