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

Unified Diff: ppapi/native_client/src/trusted/plugin/json_manifest.cc

Issue 258083004: Trusted plugin: Remove EnumerateManifestKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ppapi/native_client/src/trusted/plugin/json_manifest.cc
diff --git a/ppapi/native_client/src/trusted/plugin/json_manifest.cc b/ppapi/native_client/src/trusted/plugin/json_manifest.cc
index 1fb51ea40c138db538c01f904fc328fa2fa21f00..01874977e868e779d2eb4edeba9b17d33922dc27 100644
--- a/ppapi/native_client/src/trusted/plugin/json_manifest.cc
+++ b/ppapi/native_client/src/trusted/plugin/json_manifest.cc
@@ -609,20 +609,6 @@ bool JsonManifest::GetProgramURL(nacl::string* full_url,
return ResolveURL(nexe_url, full_url, error_info);
}
-bool JsonManifest::GetFileKeys(std::set<nacl::string>* keys) const {
- if (!dictionary_.isMember(kFilesKey)) {
- // trivial success: no keys when there is no "files" section.
- return true;
- }
- const Json::Value& files = dictionary_[kFilesKey];
- CHECK(files.isObject());
- Json::Value::Members members = files.getMemberNames();
- for (size_t i = 0; i < members.size(); ++i) {
- keys->insert(members[i]);
- }
- return true;
-}
-
bool JsonManifest::ResolveKey(const nacl::string& key,
nacl::string* full_url,
PP_PNaClOptions* pnacl_options,
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/json_manifest.h ('k') | ppapi/native_client/src/trusted/plugin/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698