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

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

Issue 113563004: Add perf tests for starting Chrome with URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve name of option setting methords Created 6 years, 11 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 | « tools/telemetry/telemetry/page/page_test.py ('k') | no next file » | 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 e9a408de1be53b8c0768f095c4ebe9ffc2dad4b8..290d0fa7855bf916d21892ac8c069354d1846d50 100755
--- a/tools/telemetry/telemetry/page/record_wpr.py
+++ b/tools/telemetry/telemetry/page/record_wpr.py
@@ -38,10 +38,11 @@ class RecordPage(page_test.PageTest):
def CanRunForPage(self, page):
return page.url.startswith('http')
- def CustomizeBrowserOptionsForPage(self, page, options):
- for compound_action in self._CompoundActionsForPage(page, options):
- for action in compound_action:
- action.CustomizeBrowserOptions(options)
+ def CustomizeBrowserOptionsForPageSet(self, pset, options):
+ for page in pset:
+ for compound_action in self._CompoundActionsForPage(page, options):
+ for action in compound_action:
+ action.CustomizeBrowserOptionsForPageSet(options)
def WillNavigateToPage(self, _, tab):
"""Override to ensure all resources are fetched from network."""
« no previous file with comments | « tools/telemetry/telemetry/page/page_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698