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

Unified Diff: tools/perf/page_sets/gmail_alt_two_labels.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/gmail_alt_two_labels.py
diff --git a/tools/perf/page_sets/gmail_alt_two_labels.py b/tools/perf/page_sets/gmail_alt_two_labels.py
index 36e58bbff73317a832e62a2cd2a15f220c430dcd..17acf6142bfdf27c51006d6a5e83a33c8636fc8b 100644
--- a/tools/perf/page_sets/gmail_alt_two_labels.py
+++ b/tools/perf/page_sets/gmail_alt_two_labels.py
@@ -22,9 +22,8 @@ class GmailAltTwoLabelsPage(page_module.Page):
super(GmailAltTwoLabelsPage, self).__init__(
url='https://mail.google.com/mail/',
page_set=page_set,
- name='gmail_alt_two_labels')
-
- self.credentials_path = 'data/credentials.json'
+ name='gmail_alt_two_labels',
+ credentials_path = 'data/credentials.json')
self.credentials = 'google'
self.user_agent_type = 'desktop'
self.archive_data_file = 'data/gmail_alt_two_labels.json'
@@ -54,7 +53,6 @@ class GmailAltTwoLabelsPageSet(page_set_module.PageSet):
def __init__(self):
super(GmailAltTwoLabelsPageSet, self).__init__(
- credentials_path='data/credentials.json',
user_agent_type='desktop',
archive_data_file='data/gmail_alt_two_labels.json',
bucket=page_set_module.PUBLIC_BUCKET)
« no previous file with comments | « tools/perf/page_sets/gmail_alt_threadlist_conversation.py ('k') | tools/perf/page_sets/gmail_compose_discard.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698