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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: update 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/background/request_queue.h
diff --git a/components/offline_pages/background/request_queue.h b/components/offline_pages/core/background/request_queue.h
similarity index 86%
rename from components/offline_pages/background/request_queue.h
rename to components/offline_pages/core/background/request_queue.h
index bed7ca26b07bf6e1de2aa9f59a17c6b650a22c51..f6aa94fb0ca36c0996f473c2a30dae3e13563941 100644
--- a/components/offline_pages/background/request_queue.h
+++ b/components/offline_pages/core/background/request_queue.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_BACKGROUND_REQUEST_QUEUE_H_
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_H_
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REQUEST_QUEUE_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REQUEST_QUEUE_H_
#include <stdint.h>
@@ -15,14 +15,14 @@
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "components/offline_pages/background/device_conditions.h"
-#include "components/offline_pages/background/pick_request_task.h"
-#include "components/offline_pages/background/pick_request_task_factory.h"
-#include "components/offline_pages/background/request_queue_results.h"
-#include "components/offline_pages/background/save_page_request.h"
+#include "components/offline_pages/core/background/device_conditions.h"
+#include "components/offline_pages/core/background/pick_request_task.h"
+#include "components/offline_pages/core/background/pick_request_task_factory.h"
+#include "components/offline_pages/core/background/request_queue_results.h"
+#include "components/offline_pages/core/background/save_page_request.h"
+#include "components/offline_pages/core/offline_page_item.h"
+#include "components/offline_pages/core/offline_store_types.h"
#include "components/offline_pages/core/task_queue.h"
-#include "components/offline_pages/offline_page_item.h"
-#include "components/offline_pages/offline_store_types.h"
namespace offline_pages {
@@ -32,7 +32,6 @@ class PickRequestTaskFactory;
// Class responsible for managing save page requests.
class RequestQueue {
public:
-
// Callback used for |GetRequests|.
typedef base::Callback<void(GetRequestsResult,
std::vector<std::unique_ptr<SavePageRequest>>)>
@@ -131,4 +130,4 @@ class RequestQueue {
} // namespace offline_pages
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_H_
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REQUEST_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698