summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 17:29:47 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 17:29:47 +0000
commit2fdc007369be9512c9af1ce9d7cccac301a264cf (patch)
tree40cff3b4f6cdae87cb7fe31bb3c1009b7b8d300d /ppapi
parentdd891da04b9cc055b2ea9a4d98f2874bfca49f37 (diff)
downloadchromium_src-2fdc007369be9512c9af1ce9d7cccac301a264cf.zip
chromium_src-2fdc007369be9512c9af1ce9d7cccac301a264cf.tar.gz
chromium_src-2fdc007369be9512c9af1ce9d7cccac301a264cf.tar.bz2
Pepper: Remove unused Plugin::manifest_url_.
BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/143623008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.cc5
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.h7
2 files changed, 0 insertions, 12 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index 11399b4..e76083d 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -985,7 +985,6 @@ void Plugin::NaClManifestBufferReady(int32_t pp_error) {
PLUGIN_PRINTF(("Plugin::NaClManifestBufferReady (pp_error=%"
NACL_PRId32 ")\n", pp_error));
ErrorInfo error_info;
- set_manifest_url(nexe_downloader_.url());
if (pp_error != PP_OK) {
if (pp_error == PP_ERROR_ABORTED) {
ReportLoadAbort();
@@ -1029,9 +1028,6 @@ void Plugin::NaClManifestFileDidOpen(int32_t pp_error) {
"NaCl.HttpStatusCodeClass.Manifest.NotInstalledApp",
nexe_downloader_.status_code());
ErrorInfo error_info;
- // The manifest file was successfully opened. Set the src property on the
- // plugin now, so that the full url is available to error handlers.
- set_manifest_url(nexe_downloader_.url());
NaClFileInfo tmp_info(nexe_downloader_.GetFileInfo());
NaClFileInfoAutoCloser info(&tmp_info);
PLUGIN_PRINTF(("Plugin::NaClManifestFileDidOpen (file_desc=%"
@@ -1160,7 +1156,6 @@ void Plugin::RequestNaClManifest(const nacl::string& url) {
is_installed_ = GetUrlScheme(nmf_resolved_url.AsString()) ==
SCHEME_CHROME_EXTENSION;
set_manifest_base_url(nmf_resolved_url.AsString());
- set_manifest_url(url);
// Inform JavaScript that a load is starting.
set_nacl_ready_state(OPENED);
EnqueueProgressEvent(PP_NACL_EVENT_LOADSTART);
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index 2bca58b..ae1515d 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -172,13 +172,6 @@ class Plugin : public pp::InstancePrivate {
manifest_base_url_ = url;
}
- // The URL of the manifest file as set by the "src" attribute.
- // It is not the fully resolved URL if it was set as relative.
- const nacl::string& manifest_url() const { return manifest_url_; }
- void set_manifest_url(const nacl::string& manifest_url) {
- manifest_url_ = manifest_url;
- }
-
// The state of readiness of the plugin.
enum ReadyState {
// The trusted plugin begins in this ready state.