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

Side by Side Diff: components/offline_pages/core/offline_page_types.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_OFFLINE_PAGE_TYPES_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_TYPES_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "components/offline_pages/offline_page_item.h" 14 #include "components/offline_pages/core/offline_page_item.h"
15 15
16 class GURL; 16 class GURL;
17 17
18 // This file contains common callbacks used by OfflinePageModel and is a 18 // This file contains common callbacks used by OfflinePageModel and is a
19 // temporary step to refactor and interface of the model out of the 19 // temporary step to refactor and interface of the model out of the
20 // implementation. 20 // implementation.
21 namespace offline_pages { 21 namespace offline_pages {
22 // Result of saving a page offline. 22 // Result of saving a page offline.
23 // A Java counterpart will be generated for this enum. 23 // A Java counterpart will be generated for this enum.
24 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offlinepages 24 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offlinepages
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 typedef base::Callback<void(bool)> HasPagesCallback; 68 typedef base::Callback<void(bool)> HasPagesCallback;
69 typedef base::Callback<void(const MultipleOfflineIdResult&)> 69 typedef base::Callback<void(const MultipleOfflineIdResult&)>
70 MultipleOfflineIdCallback; 70 MultipleOfflineIdCallback;
71 typedef base::Callback<void(const OfflinePageItem*)> 71 typedef base::Callback<void(const OfflinePageItem*)>
72 SingleOfflinePageItemCallback; 72 SingleOfflinePageItemCallback;
73 typedef base::Callback<void(const MultipleOfflinePageItemResult&)> 73 typedef base::Callback<void(const MultipleOfflinePageItemResult&)>
74 MultipleOfflinePageItemCallback; 74 MultipleOfflinePageItemCallback;
75 typedef base::Callback<bool(const GURL&)> UrlPredicate; 75 typedef base::Callback<bool(const GURL&)> UrlPredicate;
76 } // namespace offline_pages 76 } // namespace offline_pages
77 77
78 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_TYPES_H_ 78 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_
OLDNEW
« no previous file with comments | « components/offline_pages/core/offline_page_test_store.cc ('k') | components/offline_pages/core/offline_store_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698