| Index: components/offline_pages/core/request_header/offline_page_header.cc
|
| diff --git a/components/offline_pages/request_header/offline_page_header.cc b/components/offline_pages/core/request_header/offline_page_header.cc
|
| similarity index 96%
|
| rename from components/offline_pages/request_header/offline_page_header.cc
|
| rename to components/offline_pages/core/request_header/offline_page_header.cc
|
| index db7b7c9e56de125b4301f5628cd9bc67423ef4a5..9c58e7d82ed114d7bb1bfebe2e273f64217b6345 100644
|
| --- a/components/offline_pages/request_header/offline_page_header.cc
|
| +++ b/components/offline_pages/core/request_header/offline_page_header.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/offline_pages/request_header/offline_page_header.h"
|
| +#include "components/offline_pages/core/request_header/offline_page_header.h"
|
|
|
| #include "base/strings/string_tokenizer.h"
|
| #include "base/strings/string_util.h"
|
| @@ -82,8 +82,7 @@ std::string ReasonToString(OfflinePageHeader::Reason reason) {
|
| OfflinePageHeader::OfflinePageHeader()
|
| : did_fail_parsing_for_test(false),
|
| need_to_persist(false),
|
| - reason(Reason::NONE) {
|
| -}
|
| + reason(Reason::NONE) {}
|
|
|
| OfflinePageHeader::OfflinePageHeader(const std::string& header_value)
|
| : did_fail_parsing_for_test(false),
|
| @@ -108,13 +107,13 @@ std::string OfflinePageHeader::GetCompleteHeaderString() const {
|
| value += "=";
|
| value += need_to_persist ? "1" : "0";
|
|
|
| - value += " " ;
|
| + value += " ";
|
| value += kOfflinePageHeaderReasonKey;
|
| value += "=";
|
| value += ReasonToString(reason);
|
|
|
| if (!id.empty()) {
|
| - value += " " ;
|
| + value += " ";
|
| value += kOfflinePageHeaderIDKey;
|
| value += "=";
|
| value += id;
|
|
|