#include "components/reading_list/core/offline_url_utils.h"
#include "base/hash/md5.h"
#include "base/notreached.h"
namespace {
const base::FilePath::CharType kOfflineDirectory[] = …);
const base::FilePath::CharType kMainPageFileName[] = …);
const base::FilePath::CharType kPDFFileName[] = …);
}
namespace reading_list {
base::FilePath OfflineRootDirectoryPath(const base::FilePath& profile_path) { … }
std::string OfflineURLDirectoryID(const GURL& url) { … }
base::FilePath OfflineURLDirectoryAbsolutePath(
const base::FilePath& profile_path,
const GURL& url) { … }
base::FilePath OfflinePagePath(const GURL& url, OfflineFileType type) { … }
base::FilePath OfflineURLAbsolutePathFromRelativePath(
const base::FilePath& profile_path,
const base::FilePath& relative_path) { … }
}