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

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: int64_t to int64 Created 7 years, 5 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..a59b6e5c0da453dc60307f4e3126ccf3855eda26 100644
--- a/chrome/browser/nacl_host/nacl_host_message_filter.h
+++ b/chrome/browser/nacl_host/nacl_host_message_filter.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_NACL_HOST_NACL_HOST_MESSAGE_FILTER_H_
#define CHROME_BROWSER_NACL_HOST_NACL_HOST_MESSAGE_FILTER_H_
+#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/browser_message_filter.h"
@@ -51,6 +52,11 @@ 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 ReplyEnsurePnaclInstalled(int instance, bool success);
+ void SendProgressEnsurePnaclInstalled(int instance,
+ int64 current_progress,
+ int64 total);
dmichael (off chromium) 2013/08/01 17:33:49 nit: I'm used to seeing message handler methods de
jvoung (off chromium) 2013/08/01 23:14:07 Done.
void OnGetReadonlyPnaclFd(const std::string& filename,
IPC::Message* reply_msg);
void OnNaClCreateTemporaryFile(IPC::Message* reply_msg);

Powered by Google App Engine
This is Rietveld 408576698