Index: base/cpu.h |
diff --git a/base/cpu.h b/base/cpu.h |
index aec24d2f89c3eb435cc5f2f800f04f0f69330bad..276f5954e8e8ede41e046e6e6cdfc481ff6b6e52 100644 |
--- a/base/cpu.h |
+++ b/base/cpu.h |
@@ -52,6 +52,7 @@ class BASE_EXPORT CPU { |
// Note: you should never need to call this function. It was added in order |
// to workaround a bug in NSS but |has_avx()| is what you want. |
bool has_avx_hardware() const { return has_avx_hardware_; } |
+ bool has_aesni() const { return has_aesni_; } |
bool has_non_stop_time_stamp_counter() const { |
return has_non_stop_time_stamp_counter_; |
} |
@@ -79,6 +80,7 @@ class BASE_EXPORT CPU { |
bool has_avx_; |
bool has_avx_hardware_; |
bool has_non_stop_time_stamp_counter_; |
+ bool has_aesni_; |
std::string cpu_vendor_; |
std::string cpu_brand_; |
}; |