1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/rlz/rlz_tracker.h"
7 #include "rlz/lib/rlz_lib.h"
8 #include "ui/base/device_form_factor.h"
13 rlz_lib::AccessPoint
RLZTracker::ChromeOmnibox() {
14 return ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_PHONE
15 ? rlz_lib::CHROME_IOS_OMNIBOX_MOBILE
16 : rlz_lib::CHROME_IOS_OMNIBOX_TABLET
;