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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 1646733002: NaCl cleanup: Remove now-unneeded initialisation of NaCl libraries (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « components/nacl/renderer/ppb_nacl_private.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index eda62cd6c689a5a0c4889e8fc3df863ef8aff6ad..00bfcdcd4e0f637564c6236c167bc09f4ce9c57a 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -22,7 +22,6 @@
#include "base/location.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/rand_util.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
@@ -620,14 +619,6 @@ PP_Bool StartPpapiProxy(PP_Instance instance) {
return PP_FALSE;
}
-int UrandomFD(void) {
-#if defined(OS_POSIX)
- return base::GetUrandomFD();
-#else
- return -1;
-#endif
-}
-
// Convert a URL to a filename for GetReadonlyPnaclFd.
// Must be kept in sync with PnaclCanOpenFile() in
// components/nacl/browser/nacl_file_host.cc.
@@ -1700,7 +1691,6 @@ void StreamPexe(PP_Instance instance,
const PPB_NaCl_Private nacl_interface = {
&LaunchSelLdr,
- &UrandomFD,
&GetReadExecPnaclFd,
&CreateTemporaryFile,
&GetNumberOfProcessors,
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698