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

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

Issue 55463002: Remove PNaCl's RequestFirstInstall, use resource throttle instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder functions Created 7 years, 1 month 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 | « chrome/browser/nacl_host/nacl_browser_delegate_impl.cc ('k') | chrome/browser/nacl_host/nacl_file_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/nacl_file_host.h
diff --git a/chrome/browser/nacl_host/nacl_file_host.h b/chrome/browser/nacl_host/nacl_file_host.h
index baf2d5a6afa3a229b70f2084fd04a15966118e55..a34c8ac5d3d9ab13ed9294e108ed7a2d6f595cf3 100644
--- a/chrome/browser/nacl_host/nacl_file_host.h
+++ b/chrome/browser/nacl_host/nacl_file_host.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
class GURL;
@@ -21,25 +20,9 @@ namespace IPC {
class Message;
}
-namespace nacl {
-struct PnaclInstallProgress;
-}
-
// Opens NaCl Files in the Browser process, on behalf of the NaCl plugin.
namespace nacl_file_host {
-typedef base::Callback<void(bool)> InstallCallback;
-typedef base::Callback<void(const nacl::PnaclInstallProgress&)>
- InstallProgressCallback;
-
-// Ensure that PNaCl is installed. Calls |done_callback| if PNaCl is already
-// installed. Otherwise, issues a request to install and calls |done_callback|
-// after that request completes w/ success or failure.
-// If a request to install is issued, then |progress_callback| is called
-// with progress updates.
-void EnsurePnaclInstalled(
- const InstallCallback& done_callback,
- const InstallProgressCallback& progress_callback);
// Open a PNaCl file (readonly) on behalf of the NaCl plugin.
void GetReadonlyPnaclFd(
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser_delegate_impl.cc ('k') | chrome/browser/nacl_host/nacl_file_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698