Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: chrome/test/chromedriver/chrome/mobile_device.h

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 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
12 class Status;
13
14 struct MobileDevice {
15 MobileDevice();
16 ~MobileDevice();
17 scoped_ptr<DeviceMetrics> device_metrics;
18 std::string user_agent;
19 };
20
21 Status FindMobileDevice(std::string device_name,
22 scoped_ptr<MobileDevice>* mobile_device);
23
24 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_MOBILE_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698