Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/test/chromedriver/session.h

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL:
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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/session.h
diff --git a/chrome/test/chromedriver/session.h b/chrome/test/chromedriver/session.h
index 38c59e21d592b656d09ef4154ad5332e12326ee3..fe837fbf061d252393742ef161326ad3cf8051fe 100644
--- a/chrome/test/chromedriver/session.h
+++ b/chrome/test/chromedriver/session.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_vector.h"
#include "base/time/time.h"
#include "chrome/test/chromedriver/basic_types.h"
+#include "chrome/test/chromedriver/chrome/device_metrics.h"
#include "chrome/test/chromedriver/chrome/geoposition.h"
namespace base {
@@ -69,6 +70,7 @@ struct Session {
base::TimeDelta script_timeout;
scoped_ptr<std::string> prompt_text;
scoped_ptr<Geoposition> overridden_geoposition;
+ scoped_ptr<DeviceMetrics> overridden_device_metrics;
// Logs that populate from DevTools events.
ScopedVector<WebDriverLog> devtools_logs;
scoped_ptr<WebDriverLog> driver_log;

Powered by Google App Engine
This is Rietveld 408576698