Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2359)

Unified Diff: components/offline_pages/archive_manager.h

Issue 1981093002: [Offline pages] Hooking up Archive Manager to Offline Page Model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@archive-manager
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « no previous file | components/offline_pages/archive_manager.cc » ('j') | components/offline_pages/archive_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698