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

Unified Diff: tools/perf/page_sets/plus_alt_posts_photos.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
« no previous file with comments | « tools/perf/page_sets/mobile_memory.py ('k') | tools/perf/page_sets/simple_mobile_sites.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/plus_alt_posts_photos.py
diff --git a/tools/perf/page_sets/plus_alt_posts_photos.py b/tools/perf/page_sets/plus_alt_posts_photos.py
index 12195f423886ee74b8c47902bd86837a12e3531c..93d175df05d6f4806217041b5762655328154013 100644
--- a/tools/perf/page_sets/plus_alt_posts_photos.py
+++ b/tools/perf/page_sets/plus_alt_posts_photos.py
@@ -13,8 +13,8 @@ class PlusAltPostsPhotosPage(page_module.Page):
super(PlusAltPostsPhotosPage, self).__init__(
url='https://plus.google.com/+BarackObama/posts',
page_set=page_set,
- name='plus_alt_posts_photos')
- self.credentials_path = 'data/credentials.json'
+ name='plus_alt_posts_photos',
+ credentials_path = 'data/credentials.json')
self.credentials = 'google'
self.user_agent_type = 'desktop'
self.archive_data_file = 'data/plus_alt_posts_photos.json'
@@ -42,7 +42,6 @@ class PlusAltPostsPhotosPageSet(page_set_module.PageSet):
def __init__(self):
super(PlusAltPostsPhotosPageSet, self).__init__(
- credentials_path='data/credentials.json',
user_agent_type='desktop',
archive_data_file='data/plus_alt_posts_photos.json',
bucket=page_set_module.PUBLIC_BUCKET)
« no previous file with comments | « tools/perf/page_sets/mobile_memory.py ('k') | tools/perf/page_sets/simple_mobile_sites.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698