Index: components/nacl/renderer/json_manifest.h |
diff --git a/components/nacl/renderer/json_manifest.h b/components/nacl/renderer/json_manifest.h |
index 7fdb1ab9e18d1af97f8ce2c9dddb892bd622b7d4..c834984d5c1825e4805ecfde9a92f3658cd32f08 100644 |
--- a/components/nacl/renderer/json_manifest.h |
+++ b/components/nacl/renderer/json_manifest.h |
@@ -7,6 +7,7 @@ |
#include <set> |
#include <string> |
+#include <utility> |
#include "base/memory/scoped_ptr.h" |
#include "ppapi/c/pp_array_output.h" |
@@ -50,6 +51,10 @@ class JsonManifest { |
bool* uses_nonsfi_mode, |
ErrorInfo* error_info) const; |
+ // Gets all the URLs and their keys in the "files" section. |
+ bool GetFiles( |
+ std::vector<std::pair<std::string, std::string> >* out_files) const; |
+ |
// Resolves a key from the "files" section to a fully resolved URL, |
// i.e., relative URL values are fully expanded relative to the |
// manifest's URL (via ResolveURL). |