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

Unified Diff: components/offline_pages/background/request_queue_results.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/background/request_queue_results.h
diff --git a/components/offline_pages/background/request_queue_results.h b/components/offline_pages/background/request_queue_results.h
deleted file mode 100644
index ae5326c75b0b92a1fce0f9026c4ff84fc3f2fe93..0000000000000000000000000000000000000000
--- a/components/offline_pages/background/request_queue_results.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// 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_RESULTS_H_
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_
-
-#include "components/offline_pages/background/save_page_request.h"
-#include "components/offline_pages/offline_store_types.h"
-
-namespace offline_pages {
-
-// Extracted from RequestQueue so that we can build types that use these results
-// that RequestQueue depends on (for example, the PickRequestTask).
-typedef StoreUpdateResult<SavePageRequest> UpdateRequestsResult;
-
-enum class GetRequestsResult {
- SUCCESS,
- STORE_FAILURE,
-};
-
-enum class AddRequestResult {
- SUCCESS,
- STORE_FAILURE,
- ALREADY_EXISTS,
- REQUEST_QUOTA_HIT, // Cannot add a request with this namespace, as it has
- // reached a quota of active requests.
-};
-
-// GENERATED_JAVA_ENUM_PACKAGE:org.chromium.components.offlinepages.background
-enum class UpdateRequestResult {
- SUCCESS,
- STORE_FAILURE,
- REQUEST_DOES_NOT_EXIST, // Failed to delete the request because it does not
- // exist.
-};
-
-} // namespace offline_pages
-
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_

Powered by Google App Engine
This is Rietveld 408576698