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

Unified Diff: webrtc/base/systeminfo.h

Issue 2578323005: Delete unused code from systeminfo. (Closed)
Patch Set: Created 4 years 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 | « no previous file | webrtc/base/systeminfo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/systeminfo.h
diff --git a/webrtc/base/systeminfo.h b/webrtc/base/systeminfo.h
index 99d18b296001737948eb6e85d334dd3bd41ca17e..ec25c38940af77d881bd683cb8d30a1c7c1b567a 100644
--- a/webrtc/base/systeminfo.h
+++ b/webrtc/base/systeminfo.h
@@ -19,26 +19,9 @@ namespace rtc {
class SystemInfo {
perkj_webrtc 2016/12/16 12:05:41 please replace class with ns https://google.githu
public:
- enum Architecture {
- SI_ARCH_UNKNOWN = -1,
- SI_ARCH_X86 = 0,
- SI_ARCH_X64 = 1,
- SI_ARCH_ARM = 2
- };
-
SystemInfo();
-
// The number of CPU Threads in the system.
static int GetMaxCpus();
- // The number of CPU Threads currently available to this process.
- static int GetCurCpus();
- // Identity of the CPUs.
- Architecture GetCpuArchitecture();
- std::string GetCpuVendor();
- // Total amount of physical memory, in bytes.
- int64_t GetMemorySize();
- // The model name of the machine, e.g. "MacBookAir1,1"
- std::string GetMachineModel();
private:
static int logical_cpus_;
« no previous file with comments | « no previous file | webrtc/base/systeminfo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698