#include "components/offline_pages/core/model/offline_page_model_utils.h"
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "components/filename_generation/filename_generation.h"
#include "components/offline_pages/core/client_namespace_constants.h"
#include "components/offline_pages/core/offline_page_item.h"
namespace offline_pages {
namespace model_utils {
OfflinePagesNamespaceEnumeration ToNamespaceEnum(
const std::string& name_space) { … }
std::string AddHistogramSuffix(const std::string& name_space,
const char* histogram_name) { … }
base::FilePath GenerateUniqueFilenameForOfflinePage(
const std::u16string& title,
const GURL& url,
const base::FilePath& target_dir) { … }
}
}