summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz/rlz_ios.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/rlz/rlz_ios.mm')
-rw-r--r--chrome/browser/rlz/rlz_ios.mm14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/rlz/rlz_ios.mm b/chrome/browser/rlz/rlz_ios.mm
new file mode 100644
index 0000000..7af1f59
--- /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;
+}