Chromium Code Reviews| Index: base/sys_utils.h |
| diff --git a/base/sys_utils.h b/base/sys_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..04d7993f8a2d32fd91197afa9ca0a5cc8eb7ece6 |
| --- /dev/null |
| +++ b/base/sys_utils.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BASE_SYS_UTILS_H_ |
| +#define BASE_SYS_UTILS_H_ |
| + |
| +#include <stddef.h> |
| + |
| +#include "base/base_export.h" |
| + |
| +namespace base { |
| + |
| +class BASE_EXPORT SysUtils { |
| + public: |
| + // Returns true iff this is a low-end device. |
| + static bool IsLowEndDevice(); |
|
brettw
2014/06/11 21:02:40
When I suggested moving this to sys_info, I was ex
|
| + |
| + private: |
| + SysUtils() {}; |
| +}; |
| + |
| +} // namespace base |
| + |
| +#endif // BASE_SYS_UTILS_H_ |