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

Unified Diff: components/nacl/renderer/json_manifest.h

Issue 649603004: Non-SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 6 years, 2 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/nacl/renderer/json_manifest.h
diff --git a/components/nacl/renderer/json_manifest.h b/components/nacl/renderer/json_manifest.h
index 7fdb1ab9e18d1af97f8ce2c9dddb892bd622b7d4..7b12f0f671825a116ac8ef33077c0c45aa818086 100644
--- a/components/nacl/renderer/json_manifest.h
+++ b/components/nacl/renderer/json_manifest.h
@@ -50,6 +50,10 @@ class JsonManifest {
bool* uses_nonsfi_mode,
ErrorInfo* error_info) const;
+ // Gets all the URLs in the "files" section.
+ bool GetFilesUrl(std::vector<std::string>* full_urls,
+ std::vector<std::string>* keys) 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).

Powered by Google App Engine
This is Rietveld 408576698