summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client
diff options
context:
space:
mode:
authorjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 20:35:56 +0000
committerjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 20:35:56 +0000
commit841ce9e359de4f04a8838e9be17b0a383613a96b (patch)
treeb627f4d5acc957c72e31e7887974d213dfb16d7d /ppapi/native_client
parentce8a476ce8181478b02cda49e83885cc78da22ec (diff)
downloadchromium_src-841ce9e359de4f04a8838e9be17b0a383613a96b.zip
chromium_src-841ce9e359de4f04a8838e9be17b0a383613a96b.tar.gz
chromium_src-841ce9e359de4f04a8838e9be17b0a383613a96b.tar.bz2
Remove default in-memory filename strings for PNaCl llc and ld.
It has now been a long time since we pushed a version of the translator that had the filenames specified in the pnacl.json file. Hopefully having pushed it for a long time means that any beta testers have gotten the upgraded version. BUG=cleanup R=eliben@chromium.org Review URL: https://codereview.chromium.org/19637006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client')
-rw-r--r--ppapi/native_client/src/trusted/plugin/pnacl_resources.cc3
-rw-r--r--ppapi/native_client/src/trusted/plugin/pnacl_resources.h11
2 files changed, 1 insertions, 13 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_resources.cc b/ppapi/native_client/src/trusted/plugin/pnacl_resources.cc
index c1da398..6ba90c8 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_resources.cc
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_resources.cc
@@ -21,9 +21,6 @@ namespace plugin {
static const char kPnaclComponentScheme[] = "pnacl-component://";
const char PnaclUrls::kResourceInfoUrl[] = "pnacl.json";
-const char PnaclResources::kDefaultLlcName[] = "llc.nexe";
-const char PnaclResources::kDefaultLdName[] = "ld.nexe";
-
nacl::string PnaclUrls::GetBaseUrl() {
return nacl::string(kPnaclComponentScheme);
}
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_resources.h b/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
index e5f36ab..f514b68 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_resources.h
@@ -56,9 +56,7 @@ class PnaclResources {
const Manifest* manifest)
: plugin_(plugin),
coordinator_(coordinator),
- manifest_(manifest),
- llc_tool_name(kDefaultLlcName),
- ld_tool_name(kDefaultLdName) {
+ manifest_(manifest) {
}
virtual ~PnaclResources();
@@ -99,13 +97,6 @@ class PnaclResources {
// once all_loaded_callback_ has been invoked.
std::map<nacl::string, nacl::DescWrapper*> resource_wrappers_;
- // The names of the llc and ld nexes are read from the resource info file.
- // These are default values if the resource file does not contain the names.
- // TODO(eliben): this should be eventually removed, once all nacl deps
- // propagate - the names should always exist in the resource info JSON file.
- static const char kDefaultLlcName[];
- static const char kDefaultLdName[];
-
// Tool names for llc and ld; read from the resource info file.
nacl::string llc_tool_name;
nacl::string ld_tool_name;