chromium/chrome/test/chromedriver/log_replay/devtools_log_reader.cc

// 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.

#include "chrome/test/chromedriver/log_replay/devtools_log_reader.h"

#include <iostream>
#include <string>

#include "base/logging.h"
#include "base/strings/pattern.h"
#include "base/strings/string_util.h"

namespace {
// Parses the word (id=X) and just returns the id number
int GetId(std::istringstream& header_stream) {}

void putback(std::istringstream& stream, const std::string& str) {}

// Parses the word (session_id=X) and just returns the session_id string
bool GetSessionId(std::istringstream& header_stream, std::string* session_id) {}

}  // namespace

LogEntry::LogEntry(std::istringstream& header_stream) {}

LogEntry::~LogEntry() {}

DevToolsLogReader::DevToolsLogReader(const base::FilePath& log_path)
    :{}

DevToolsLogReader::~DevToolsLogReader() {}

bool DevToolsLogReader::IsHeader(std::istringstream& header_stream) const {}

void DevToolsLogReader::UndoGetNext(std::unique_ptr<LogEntry> next) {}

std::unique_ptr<LogEntry> DevToolsLogReader::GetNext(
    LogEntry::Protocol protocol_type) {}

std::string DevToolsLogReader::GetJSONString(
    std::istringstream& header_stream) {}

int DevToolsLogReader::CountChar(const std::string& line,
                                 char opening_char,
                                 char closing_char) const {}