OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 NavigatorCPU_h | 5 #ifndef NavigatorCPU_h |
6 #define NavigatorCPU_h | 6 #define NavigatorCPU_h |
7 | 7 |
| 8 #include "core/CoreExport.h" |
| 9 |
8 namespace blink { | 10 namespace blink { |
9 | 11 |
10 class NavigatorCPU { | 12 class CORE_EXPORT NavigatorCPU { |
11 public: | 13 public: |
12 unsigned hardwareConcurrency() const; | 14 unsigned hardwareConcurrency() const; |
13 }; | 15 }; |
14 | 16 |
15 } // namespace blink | 17 } // namespace blink |
16 | 18 |
17 #endif // NavigatorCPU_h | 19 #endif // NavigatorCPU_h |
OLD | NEW |