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

Unified Diff: tools/telemetry/telemetry/page/record_wpr.py

Issue 1138763004: Fix record_wpr to allow page tests to customize browser options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit tests Created 5 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
« no previous file with comments | « no previous file | tools/telemetry/telemetry/page/record_wpr_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/record_wpr.py
diff --git a/tools/telemetry/telemetry/page/record_wpr.py b/tools/telemetry/telemetry/page/record_wpr.py
index 2559aaf022479a89e52c1d757a58b9a0544cd302..fb8dd4207b476e4b9e22cb0c8f7d5afa78ffafa2 100644
--- a/tools/telemetry/telemetry/page/record_wpr.py
+++ b/tools/telemetry/telemetry/page/record_wpr.py
@@ -21,6 +21,10 @@ class RecorderPageTest(page_test.PageTest): # pylint: disable=W0223
super(RecorderPageTest, self).__init__()
self.page_test = None
+ def CustomizeBrowserOptions(self, options):
+ if self.page_test:
+ self.page_test.CustomizeBrowserOptions(options)
+
def WillStartBrowser(self, browser):
if self.page_test:
self.page_test.WillStartBrowser(browser)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/page/record_wpr_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698