Index: base/chromeos/chromeos_version.h |
diff --git a/base/chromeos/chromeos_version.h b/base/chromeos/chromeos_version.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fc4b242b323b5a8097602e67f087027a1a1eb465 |
--- /dev/null |
+++ b/base/chromeos/chromeos_version.h |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2012 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_CHROMEOS_CHROMEOS_VERSION_H_ |
+#define BASE_CHROMEOS_CHROMEOS_VERSION_H_ |
+#pragma once |
+ |
+#include "base/base_export.h" |
+ |
+namespace base { |
+namespace chromeos { |
+ |
+// Returns true if the browser is running on Chrome OS. |
+// Useful for implementing stubs for Linux desktop. |
+BASE_EXPORT bool IsRunningOnChromeOS(); |
+ |
+} // namespace chromeos |
+} // namespace base |
+ |
+#endif // BASE_CHROMEOS_CHROMEOS_VERSION_H_ |