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

Unified Diff: tools/perf/page_sets/tough_scheduling_cases.py

Issue 625123002: Make credential_path a page attribute instead of page_set attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to path & path_unittest Created 6 years, 2 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/perf/page_sets/tough_scheduling_cases.py
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py
index ec951de26673b42858e825ddc90b59f247c2cf73..7b322f50bd3793099281489f6020882b990b71ce 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.py
+++ b/tools/perf/page_sets/tough_scheduling_cases.py
@@ -8,8 +8,8 @@ from telemetry.page import page_set as page_set_module
class ToughSchedulingCasesPage(page_module.Page):
def __init__(self, url, page_set):
- super(ToughSchedulingCasesPage, self).__init__(url=url, page_set=page_set)
- self.credentials_path = 'data/credentials.json'
+ super(ToughSchedulingCasesPage, self).__init__(
+ url=url, page_set=page_set, credentials_path = 'data/credentials.json')
self.user_agent_type = 'mobile'
self.archive_data_file = 'data/tough_scheduling_cases.json'
@@ -376,7 +376,6 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
def __init__(self):
super(ToughSchedulingCasesPageSet, self).__init__(
- credentials_path='data/credentials.json',
user_agent_type='mobile',
archive_data_file='data/tough_scheduling_cases.json',
bucket=page_set_module.INTERNAL_BUCKET)
« no previous file with comments | « tools/perf/page_sets/tough_pinch_zoom_cases.py ('k') | tools/telemetry/telemetry/core/browser_credentials.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698