Adds more logging for audio input issues.
[chromium-blink-merge.git] / ui / base / device_form_factor_android.cc
blob836a81f19f5a9285827bb5cb08ab621b5ec2f19f
1 // Copyright 2013 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 "ui/base/device_form_factor.h"
7 #include "base/command_line.h"
8 #include "ui_base_switches.h"
10 namespace ui {
12 DeviceFormFactor GetDeviceFormFactor() {
13 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTabletUI))
14 return DEVICE_FORM_FACTOR_TABLET;
15 return DEVICE_FORM_FACTOR_PHONE;
18 } // namespace ui