Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Unified Diff: base/sys_utils.h

Issue 258663002: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android unittest build. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698