Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: components/offline_pages/core/request_header/offline_page_header.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/request_header/offline_page_header.h
diff --git a/components/offline_pages/request_header/offline_page_header.h b/components/offline_pages/core/request_header/offline_page_header.h
similarity index 89%
rename from components/offline_pages/request_header/offline_page_header.h
rename to components/offline_pages/core/request_header/offline_page_header.h
index 370fe667817795d3d694b8cb2cd28e85b28a02c0..07175c6f0b15efbc94beca8d9fa583d609ef7b62 100644
--- a/components/offline_pages/request_header/offline_page_header.h
+++ b/components/offline_pages/core/request_header/offline_page_header.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_OFFLINE_PAGES_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_
-#define COMPONENTS_OFFLINE_PAGES_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_
#include <string>
@@ -41,12 +41,7 @@ extern const char kOfflinePageHeaderIDKey[];
// loading behaviors.
struct OfflinePageHeader {
public:
- enum class Reason {
- NONE,
- NET_ERROR,
- DOWNLOAD,
- RELOAD
- };
+ enum class Reason { NONE, NET_ERROR, DOWNLOAD, RELOAD };
OfflinePageHeader();
@@ -77,4 +72,4 @@ struct OfflinePageHeader {
} // namespace offline_pages
-#endif // COMPONENTS_OFFLINE_PAGES_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_REQUEST_HEADER_OFFLINE_PAGE_HEADER_H_

Powered by Google App Engine
This is Rietveld 408576698