| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_CPU_H_ | 5 #ifndef BASE_CPU_H_ |
| 6 #define BASE_CPU_H_ | 6 #define BASE_CPU_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 | 11 |
| 13 namespace base { | 12 namespace base { |
| 14 | 13 |
| 15 // Query information about the processor. | 14 // Query information about the processor. |
| 16 class BASE_EXPORT CPU { | 15 class BASE_EXPORT CPU { |
| 17 public: | 16 public: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 bool has_sse3_; | 49 bool has_sse3_; |
| 51 bool has_ssse3_; | 50 bool has_ssse3_; |
| 52 bool has_sse41_; | 51 bool has_sse41_; |
| 53 bool has_sse42_; | 52 bool has_sse42_; |
| 54 std::string cpu_vendor_; | 53 std::string cpu_vendor_; |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace base | 56 } // namespace base |
| 58 | 57 |
| 59 #endif // BASE_CPU_H_ | 58 #endif // BASE_CPU_H_ |
| OLD | NEW |