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

Unified Diff: trunk/src/chrome/nacl/nacl_listener.h

Issue 14320030: Revert 195190 "Set up NaClChromeMainArgs number_of_cores member ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | « trunk/src/chrome/nacl/nacl_helper_linux.cc ('k') | trunk/src/chrome/nacl/nacl_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/nacl/nacl_listener.h
===================================================================
--- trunk/src/chrome/nacl/nacl_listener.h (revision 195212)
+++ trunk/src/chrome/nacl/nacl_listener.h (working copy)
@@ -34,11 +34,6 @@
prereserved_sandbox_size_ = prereserved_sandbox_size;
}
#endif
-#if defined(OS_POSIX)
- void set_number_of_cores(int number_of_cores) {
- number_of_cores_ = number_of_cores;
- }
-#endif
private:
void OnStart(const nacl::NaClStartParams& params);
@@ -56,16 +51,6 @@
#if defined(OS_LINUX)
size_t prereserved_sandbox_size_;
#endif
-#if defined(OS_POSIX)
- /*
- * The outer sandbox on Linux and OSX prevents
- * sysconf(_SC_NPROCESSORS) from working; in Windows, there are no
- * problems with invoking GetSystemInfo. Therefore, only in
- * OS_POSIX do we need to supply the number of cores into
- * NaClChromeMainArgs object.
- */
- int number_of_cores_;
-#endif
// Used to identify what thread we're on.
MessageLoop* main_loop_;
Property changes on: trunk/src/chrome/nacl/nacl_listener.h
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « trunk/src/chrome/nacl/nacl_helper_linux.cc ('k') | trunk/src/chrome/nacl/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698