| 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 98dc9126b1fae0fc1bea3b656f280da7646333d2..1569917aebe4a09184c52c6ee6249f4024ceeca4 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"
|
|
|
| @@ -59,6 +60,11 @@ struct RenderPageInfo {
|
| base::Time render_time;
|
| };
|
|
|
| +// 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_
|
|
|