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

Unified Diff: ios/chrome/browser/arch_util.h

Issue 887043002: Upstream utilities for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 11 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
« no previous file with comments | « no previous file | ios/chrome/browser/arch_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/arch_util.h
diff --git a/ios/chrome/browser/arch_util.h b/ios/chrome/browser/arch_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..74ab9f2b4f04a06d68455c458328e6bcf0c3dced
--- /dev/null
+++ b/ios/chrome/browser/arch_util.h
@@ -0,0 +1,24 @@
+// Copyright 2014 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 IOS_CHROME_BROWSER_ARCH_UTIL_H_
+#define IOS_CHROME_BROWSER_ARCH_UTIL_H_
+
+namespace arch_util {
+
+// Architecture of the currently running binary. Depends on the combination of
+// app binary archs and device's arch. e.g. for arm7/arm64 fat binary running
+// on 64-bit processor the value will be "arm64", but for the same fat binary
+// running on 32-bit processor the value will be "arm".
+extern const char kCurrentArch[];
+
+// Constant for 32-bit ARM architecture.
+extern const char kARMArch[];
+
+// Constant for 64-bit ARM architecture.
+extern const char kARM64Arch[];
+
+} // namespace arch_util
+
+#endif // IOS_CHROME_BROWSER_ARCH_UTIL_H_
« no previous file with comments | « no previous file | ios/chrome/browser/arch_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698