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

Unified Diff: chrome/browser/nacl_host/nacl_host_message_filter.h

Issue 19863003: PNaCl on-demand installs: Make a separate async IPC to check if PNaCl is installed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: take out progress IPC for now Created 7 years, 4 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: chrome/browser/nacl_host/nacl_host_message_filter.h
diff --git a/chrome/browser/nacl_host/nacl_host_message_filter.h b/chrome/browser/nacl_host/nacl_host_message_filter.h
index 66af82de625f7c31a19c1afd281a843eb3ef4048..dccdf083370d8760140348e0dd8a4e1528d62a1b 100644
--- a/chrome/browser/nacl_host/nacl_host_message_filter.h
+++ b/chrome/browser/nacl_host/nacl_host_message_filter.h
@@ -16,6 +16,7 @@ class GURL;
namespace nacl {
struct NaClLaunchParams;
struct PnaclCacheInfo;
+struct PnaclInstallProgress;
}
namespace net {
@@ -51,6 +52,7 @@ class NaClHostMessageFilter : public content::BrowserMessageFilter {
#if !defined(DISABLE_NACL)
void OnLaunchNaCl(const nacl::NaClLaunchParams& launch_params,
IPC::Message* reply_msg);
+ void OnEnsurePnaclInstalled(int instance);
void OnGetReadonlyPnaclFd(const std::string& filename,
IPC::Message* reply_msg);
void OnNaClCreateTemporaryFile(IPC::Message* reply_msg);
@@ -63,6 +65,10 @@ class NaClHostMessageFilter : public content::BrowserMessageFilter {
const GURL& file_url,
IPC::Message* reply_msg);
+ void ReplyEnsurePnaclInstalled(int instance, bool success);
+ void SendProgressEnsurePnaclInstalled(
+ int instance,
+ const nacl::PnaclInstallProgress& progress);
void SyncReturnTemporaryFile(IPC::Message* reply_msg,
IPC::PlatformFileForTransit fd);
void AsyncReturnTemporaryFile(int pp_instance,
« no previous file with comments | « chrome/browser/nacl_host/nacl_file_host_unittest.cc ('k') | chrome/browser/nacl_host/nacl_host_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698