chromium/components/offline_pages/core/request_header/offline_page_header.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/offline_pages/core/request_header/offline_page_header.h"

#include <string_view>

#include "base/base64.h"
#include "base/notreached.h"
#include "base/strings/string_tokenizer.h"
#include "base/strings/string_util.h"

namespace offline_pages {

const char kOfflinePageHeader[] =;
const char kOfflinePageHeaderReasonKey[] =;
const char kOfflinePageHeaderReasonValueDueToNetError[] =;
const char kOfflinePageHeaderReasonValueFromDownload[] =;
const char kOfflinePageHeaderReasonValueReload[] =;
const char kOfflinePageHeaderReasonValueFromNotification[] =;
const char kOfflinePageHeadeReasonValueFromProgressBar[] =;
const char kOfflinePageHeadeReasonValueFromSuggestion[] =;
const char kOfflinePageHeaderNetErrorSuggestion[] =;
const char kOfflinePageHeaderReasonFileUrlIntent[] =;
const char kOfflinePageHeaderReasonContentUrlIntent[] =;
const char kOfflinePageHeaderPersistKey[] =;
const char kOfflinePageHeaderIDKey[] =;
const char kOfflinePageHeaderIntentUrlKey[] =;

namespace {

bool ParseOfflineHeaderValue(const std::string& header_value,
                             bool* need_to_persist,
                             OfflinePageHeader::Reason* reason,
                             std::string* id,
                             GURL* intent_url) {}

std::string ReasonToString(OfflinePageHeader::Reason reason) {}

}  // namespace

OfflinePageHeader::OfflinePageHeader()
    :{}

OfflinePageHeader::OfflinePageHeader(const std::string& header_value)
    :{}

OfflinePageHeader::~OfflinePageHeader() {}

std::string OfflinePageHeader::GetCompleteHeaderString() const {}

std::string OfflinePageHeader::GetHeaderKeyString() const {}

std::string OfflinePageHeader::GetHeaderValueString() const {}

void OfflinePageHeader::Clear() {}

}  // namespace offline_pages