Chromium Code Reviews| 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..a9ff4bac27e6abee1532a1269d576957adc7310b 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 files int the archives in the archive directory. |
|
jianli
2016/05/17 21:48:13
nit: typo for int.
Simpler to say: // Retrieves a
fgorski
2016/05/17 22:50:29
Done.
|
| + 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_; |