#include "components/language/content/browser/ulp_language_code_locator/s2langquadtree.h"
#include <string>
#include "third_party/s2cellid/src/s2/s2cellid.h"
S2LangQuadTreeNode::S2LangQuadTreeNode() { … }
S2LangQuadTreeNode::S2LangQuadTreeNode(const S2LangQuadTreeNode& other) =
default;
S2LangQuadTreeNode::~S2LangQuadTreeNode() = default;
std::string S2LangQuadTreeNode::Get(const S2CellId& cell,
int* level_ptr) const { … }
S2LangQuadTreeNode S2LangQuadTreeNode::Deserialize(
const SerializedLanguageTree* serialized_langtree) { … }
size_t S2LangQuadTreeNode::DeserializeSubtree(
const SerializedLanguageTree* serialized_langtree,
int bits_per_lang_index,
size_t bit_offset,
S2LangQuadTreeNode* root) { … }
const S2LangQuadTreeNode& S2LangQuadTreeNode::GetChild(
const int child_index) const { … }
bool S2LangQuadTreeNode::IsLeaf() const { … }