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

Unified Diff: src/trusted/plugin/ppapi/file_downloader.h

Issue 6813070: Add cross-origin loading of NEXEs for MIME type handlers (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | src/trusted/plugin/ppapi/file_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/ppapi/file_downloader.h
===================================================================
--- src/trusted/plugin/ppapi/file_downloader.h (revision 4887)
+++ src/trusted/plugin/ppapi/file_downloader.h (working copy)
@@ -15,6 +15,8 @@
namespace plugin {
+class PluginPpapi;
+
// A class that wraps PPAPI URLLoader and FileIO functionality for downloading
// the url into a file and providing an open file descriptor.
class FileDownloader {
@@ -29,7 +31,7 @@
// Initialize() can only be called once during the lifetime of this instance.
// After the first call, subesquent calls do nothing.
- void Initialize(pp::Instance* instance);
+ void Initialize(PluginPpapi* instance);
// Issues a GET on |url| downloading the response into a file. The file is
// then opened and a file descriptor is made available. Returns immediately
@@ -69,7 +71,7 @@
void URLLoadFinishNotify(int32_t pp_error);
void FileOpenNotify(int32_t pp_error);
- pp::Instance* instance_;
+ PluginPpapi* instance_;
nacl::string url_to_open_;
nacl::string url_;
pp::CompletionCallback file_open_notify_callback_;
« no previous file with comments | « no previous file | src/trusted/plugin/ppapi/file_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698