summaryrefslogtreecommitdiffstats
path: root/chrome/browser/rlz/rlz_ios.mm
blob: 7af1f59b051e2d9002dcc623d6d9b5d1f3c71ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}