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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py

Issue 1135173007: Kill page_test.NavigateToPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@KillNavigateToPage
Patch Set: Address sclittle's comment 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
Index: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
index e1fcb0a10c15af08dc15ed78b8fad1db6bdc42cf..df51b4f48666f73e5c34eb9e34744503a01ff48d 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
@@ -89,7 +89,12 @@ class ChromeProxyBlockOnce(ChromeProxyBenchmark):
class ChromeProxySafeBrowsingOn(ChromeProxyBenchmark):
tag = 'safebrowsing_on'
test = measurements.ChromeProxySafebrowsingOn
- page_set = pagesets.SafebrowsingPageSet
+
+ # Override CreateUserStorySet so that we can instantiate SafebrowsingPageSet
+ # with a non default param.
+ def CreateUserStorySet(self, options):
+ del options # unused
+ return pagesets.SafebrowsingPageSet(expect_timeout=True)
@classmethod
def Name(cls):

Powered by Google App Engine
This is Rietveld 408576698