Chromium Code Reviews| Index: src/base/cpu.h |
| diff --git a/src/base/cpu.h b/src/base/cpu.h |
| index fe8e1029757f0d37806247366b307eb3e3c13ad7..95b4e2023b57a2af8d12fb69490d6a203cb99be0 100644 |
| --- a/src/base/cpu.h |
| +++ b/src/base/cpu.h |
| @@ -47,6 +47,8 @@ class CPU FINAL { |
| static const int NVIDIA = 0x4e; |
| static const int QUALCOMM = 0x51; |
| int architecture() const { return architecture_; } |
| + int variant() const { return variant_; } |
| + static const int NV_VARIANT_DENVER = 0x0; |
|
Benedikt Meurer
2014/12/19 06:32:09
Please rename to NVIDIA_DENVER.
Benedikt Meurer
2014/12/19 06:32:09
Please rename to NVIDIA_DENVER.
arajp
2014/12/19 10:45:31
Done.
|
| int part() const { return part_; } |
| static const int ARM_CORTEX_A5 = 0xc05; |
| static const int ARM_CORTEX_A7 = 0xc07; |
| @@ -92,6 +94,7 @@ class CPU FINAL { |
| int type_; |
| int implementer_; |
| int architecture_; |
| + int variant_; |
| int part_; |
| bool has_fpu_; |
| bool has_cmov_; |