Index: chrome/browser/rlz/rlz_ios.mm |
diff --git a/chrome/browser/rlz/rlz_ios.mm b/chrome/browser/rlz/rlz_ios.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7af1f59b051e2d9002dcc623d6d9b5d1f3c71ff6 |
--- /dev/null |
+++ b/chrome/browser/rlz/rlz_ios.mm |
@@ -0,0 +1,14 @@ |
+// 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. |
+ |
+#include "chrome/browser/rlz/rlz.h" |
+ |
+#import <UIKit/UIKit.h> |
+ |
+// static |
+rlz_lib::AccessPoint RLZTracker::ChromeOmnibox() { |
+ return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone |
+ ? rlz_lib::CHROME_IOS_OMNIBOX_MOBILE |
+ : rlz_lib::CHROME_IOS_OMNIBOX_TABLET; |
+} |