Improved FTP support for Chromium extension

This commit is contained in:
Rob Wu 2014-03-30 00:08:02 +01:00
parent 7d5bf83ce8
commit d04f81b964
5 changed files with 88 additions and 6 deletions

View file

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* globals chrome, URL, getViewerURL */
/* globals chrome, URL, getViewerURL, Features */
(function() {
'use strict';
@ -158,7 +158,8 @@ limitations under the License.
var streamInfo = getStream(sender.tab.id, pdfUrl) || {};
sendResponse({
streamUrl: streamInfo.streamUrl,
contentLength: streamInfo.contentLength
contentLength: streamInfo.contentLength,
extensionSupportsFTP: Features.extensionSupportsFTP
});
}
});