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

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: Fixing the windows bot 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
« no previous file with comments | « no previous file | components/offline_pages/archive_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | components/offline_pages/archive_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698