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

Side by Side Diff: components/offline_pages/core/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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_ 6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_
7 7
8 #include "components/offline_pages/background/save_page_request.h" 8 #include "components/offline_pages/core/background/save_page_request.h"
9 #include "components/offline_pages/offline_store_types.h" 9 #include "components/offline_pages/core/offline_store_types.h"
10 10
11 namespace offline_pages { 11 namespace offline_pages {
12 12
13 // Extracted from RequestQueue so that we can build types that use these results 13 // Extracted from RequestQueue so that we can build types that use these results
14 // that RequestQueue depends on (for example, the PickRequestTask). 14 // that RequestQueue depends on (for example, the PickRequestTask).
15 typedef StoreUpdateResult<SavePageRequest> UpdateRequestsResult; 15 typedef StoreUpdateResult<SavePageRequest> UpdateRequestsResult;
16 16
17 enum class GetRequestsResult { 17 enum class GetRequestsResult {
18 SUCCESS, 18 SUCCESS,
19 STORE_FAILURE, 19 STORE_FAILURE,
(...skipping 11 matching lines...) Expand all
31 enum class UpdateRequestResult { 31 enum class UpdateRequestResult {
32 SUCCESS, 32 SUCCESS,
33 STORE_FAILURE, 33 STORE_FAILURE,
34 REQUEST_DOES_NOT_EXIST, // Failed to delete the request because it does not 34 REQUEST_DOES_NOT_EXIST, // Failed to delete the request because it does not
35 // exist. 35 // exist.
36 }; 36 };
37 37
38 } // namespace offline_pages 38 } // namespace offline_pages
39 39
40 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_ 40 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_RESULTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698