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. 4 5#ifndef CHROME_TEST_CHROMEDRIVER_CHROME_MOBILE_DEVICE_H_ 6#define CHROME_TEST_CHROMEDRIVER_CHROME_MOBILE_DEVICE_H_ 7 8#include <string> 9#include "base/memory/scoped_ptr.h" 10#include "chrome/test/chromedriver/chrome/device_metrics.h" 11 12class Status; 13 14struct MobileDevice { 15 MobileDevice(); 16 ~MobileDevice(); 17 scoped_ptr<DeviceMetrics> device_metrics; 18 std::string user_agent; 19}; 20 21Status FindMobileDevice(std::string device_name, 22 scoped_ptr<MobileDevice>* mobile_device); 23 24#endif // CHROME_TEST_CHROMEDRIVER_CHROME_MOBILE_DEVICE_H_ 25