| Index: components/offline_pages/archive_manager.h
|
| diff --git a/components/offline_pages/archive_manager.h b/components/offline_pages/archive_manager.h
|
| index 221d08636e72c7c900cb2fa816c3822e41e64ebb..6441d85fdc82ffe85c3641bd0e1037883d728bbf 100644
|
| --- a/components/offline_pages/archive_manager.h
|
| +++ b/components/offline_pages/archive_manager.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_OFFLINE_PAGES_ARCHIVE_MANAGER_H_
|
| #define COMPONENTS_OFFLINE_PAGES_ARCHIVE_MANAGER_H_
|
|
|
| +#include <set>
|
| #include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| @@ -46,6 +47,11 @@ class ArchiveManager {
|
| const std::vector<base::FilePath>& archive_paths,
|
| const base::Callback<void(bool)>& callback);
|
|
|
| + // Lists all archive files in the archive directory.
|
| + virtual void GetAllArchives(
|
| + const base::Callback<void(const std::set<base::FilePath>&)>& callback)
|
| + const;
|
| +
|
| private:
|
| // Path under which all of the managed archives should be stored.
|
| base::FilePath archives_dir_;
|
|
|