#include "content/web_test/common/web_test_string_util.h"
#include <stddef.h>
#include <string_view>
#include "base/containers/heap_array.h"
#include "base/lazy_instance.h"
#include "base/rand_util.h"
#include "base/strings/string_util.h"
#include "third_party/blink/public/web/web_navigation_policy.h"
#include "url/gurl.h"
namespace web_test_string_util {
namespace {
constexpr std::string_view kWebTestsPattern = …;
constexpr std::string_view kFileURLPattern = …;
const char* kFileTestPrefix = …;
const char* kPolicyDownload = …;
const char* kPolicyCurrentTab = …;
const char* kPolicyNewBackgroundTab = …;
const char* kPolicyNewForegroundTab = …;
const char* kPolicyNewWindow = …;
const char* kPolicyNewPopup = …;
const char* kPolicyPictureInPicture = …;
}
const char* kIllegalString = …;
std::string NormalizeWebTestURLForTextOutput(const std::string& url) { … }
std::string URLDescription(const GURL& url) { … }
const char* WebNavigationPolicyToString(
const blink::WebNavigationPolicy& policy) { … }
const char* WindowOpenDispositionToString(WindowOpenDisposition disposition) { … }
blink::WebString V8StringToWebString(v8::Isolate* isolate,
v8::Local<v8::String> v8_str) { … }
}