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

Unified Diff: components/offline_pages/core/background/save_page_request.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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/background/save_page_request.h
diff --git a/components/offline_pages/background/save_page_request.h b/components/offline_pages/core/background/save_page_request.h
similarity index 88%
rename from components/offline_pages/background/save_page_request.h
rename to components/offline_pages/core/background/save_page_request.h
index 8dcc2f381dbabd8a9782a78636ef29aa7c8a59c3..ab5a760c3d0d8033b94f17f2fd1d1ec8b21614cb 100644
--- a/components/offline_pages/background/save_page_request.h
+++ b/components/offline_pages/core/background/save_page_request.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_SAVE_PAGE_REQUEST_H_
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_SAVE_PAGE_REQUEST_H_
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SAVE_PAGE_REQUEST_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SAVE_PAGE_REQUEST_H_
#include <stdint.h>
#include "base/time/time.h"
-#include "components/offline_pages/offline_page_item.h"
+#include "components/offline_pages/core/offline_page_item.h"
#include "url/gurl.h"
namespace offline_pages {
@@ -18,9 +18,9 @@ class SavePageRequest {
public:
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offlinepages
enum class RequestState {
- AVAILABLE = 0, // Request can be scheduled when preconditions are met.
- PAUSED = 1, // Request is not available until it is unpaused.
- OFFLINING = 2, // Request is actively offlining.
+ AVAILABLE = 0, // Request can be scheduled when preconditions are met.
+ PAUSED = 1, // Request is not available until it is unpaused.
+ OFFLINING = 2, // Request is actively offlining.
};
SavePageRequest(int64_t request_id,
@@ -124,4 +124,4 @@ class SavePageRequest {
} // namespace offline_pages
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_SAVE_PAGE_REQUEST_H_
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SAVE_PAGE_REQUEST_H_

Powered by Google App Engine
This is Rietveld 408576698