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

Unified Diff: tools/perf/page_sets/gmail_compose_discard.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_compose_discard.py
diff --git a/tools/perf/page_sets/gmail_compose_discard.py b/tools/perf/page_sets/gmail_compose_discard.py
index 4d37bcc66bf505643d065ff5697f49dcdb71dc89..3eedb597cb5b150d9ccb2acc782c44a0f3fdf8d4 100644
--- a/tools/perf/page_sets/gmail_compose_discard.py
+++ b/tools/perf/page_sets/gmail_compose_discard.py
@@ -24,8 +24,8 @@ class GmailComposeDiscardPage(page_module.Page):
def __init__(self, page_set):
super(GmailComposeDiscardPage, self).__init__(
url='https://mail.google.com/mail/',
- page_set=page_set)
- self.credentials_path = 'data/credentials.json'
+ page_set=page_set,
+ credentials_path = 'data/credentials.json')
self.credentials = 'google'
self.user_agent_type = 'desktop'
@@ -66,7 +66,6 @@ class GmailComposeDiscardPageSet(page_set_module.PageSet):
def __init__(self):
super(GmailComposeDiscardPageSet, self).__init__(
- credentials_path='data/credentials.json',
user_agent_type='desktop')
self.AddPage(GmailComposeDiscardPage(self))
« no previous file with comments | « tools/perf/page_sets/gmail_alt_two_labels.py ('k') | tools/perf/page_sets/gmail_expand_collapse_conversation.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698