OLD | NEW |
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_CORE_OFFLINE_PAGE_TYPES_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_CORE_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> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 typedef base::Callback<void(const CheckPagesExistOfflineResult&)> | 70 typedef base::Callback<void(const CheckPagesExistOfflineResult&)> |
71 CheckPagesExistOfflineCallback; | 71 CheckPagesExistOfflineCallback; |
72 typedef base::Callback<void(bool)> HasPagesCallback; | 72 typedef base::Callback<void(bool)> HasPagesCallback; |
73 typedef base::Callback<void(const MultipleOfflineIdResult&)> | 73 typedef base::Callback<void(const MultipleOfflineIdResult&)> |
74 MultipleOfflineIdCallback; | 74 MultipleOfflineIdCallback; |
75 typedef base::Callback<void(const OfflinePageItem*)> | 75 typedef base::Callback<void(const OfflinePageItem*)> |
76 SingleOfflinePageItemCallback; | 76 SingleOfflinePageItemCallback; |
77 typedef base::Callback<void(const MultipleOfflinePageItemResult&)> | 77 typedef base::Callback<void(const MultipleOfflinePageItemResult&)> |
78 MultipleOfflinePageItemCallback; | 78 MultipleOfflinePageItemCallback; |
79 typedef base::Callback<bool(const GURL&)> UrlPredicate; | 79 typedef base::Callback<bool(const GURL&)> UrlPredicate; |
| 80 typedef base::Callback<void(int64_t)> SizeInBytesCallback; |
80 } // namespace offline_pages | 81 } // namespace offline_pages |
81 | 82 |
82 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_ | 83 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_TYPES_H_ |
OLD | NEW |