#include "chrome/browser/ui/webui/test_files_request_filter.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/memory/ref_counted_memory.h"
#include "base/path_service.h"
#include "base/strings/string_split.h"
#include "base/threading/thread_restrictions.h"
#include "chrome/common/chrome_paths.h"
namespace {
bool ShouldHandleTestFileRequestCallback(const std::string& path) { … }
void HandleTestFileRequestCallback(
const std::string& path,
content::WebUIDataSource::GotDataCallback callback) { … }
}
namespace test {
content::WebUIDataSource::HandleRequestCallback GetTestFilesRequestFilter() { … }
content::WebUIDataSource::ShouldHandleRequestCallback
GetTestShouldHandleRequest() { … }
}