| Index: components/offline_pages/core/prefetch/prefetch_types.h
|
| diff --git a/components/offline_pages/core/prefetch/prefetch_types.h b/components/offline_pages/core/prefetch/prefetch_types.h
|
| index c15b6a0e014dfa0d9e6dc45b2514ed8180e8e8c7..f36526dcc7f3463bc56ad40c21c23eabe7755251 100644
|
| --- a/components/offline_pages/core/prefetch/prefetch_types.h
|
| +++ b/components/offline_pages/core/prefetch/prefetch_types.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_TYPES_H_
|
| #define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_TYPES_H_
|
|
|
| +#include <vector>
|
| #include "base/macros.h"
|
| #include "base/time/time.h"
|
|
|
| @@ -99,6 +100,11 @@ enum class PrefetchItemErrorCode {
|
| EXPIRED,
|
| };
|
|
|
| +// Callback invoked upon completion of a prefetch request.
|
| +using PrefetchRequestFinishedCallback =
|
| + base::Callback<void(PrefetchRequestStatus status,
|
| + const std::vector<RenderPageInfo>& pages)>;
|
| +
|
| } // namespace offline_pages
|
|
|
| #endif // COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_TYPES_H_
|
|
|