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

Side by Side Diff: tools/perf/page_sets/mobile_facebook_page.py

Issue 2166743005: [tools/perf] Rename mobile_facebook_login to facebook_login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload renamed file Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/login_helpers/mobile_facebook_login.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from page_sets.login_helpers import mobile_facebook_login 5 from page_sets.login_helpers import facebook_login
6 6
7 from telemetry.page import page as page_module 7 from telemetry.page import page as page_module
8 8
9
9 class MobileFacebookPage(page_module.Page): 10 class MobileFacebookPage(page_module.Page):
10 def __init__(self, url, page_set, shared_page_state_class, name='facebook'): 11 def __init__(self, url, page_set, shared_page_state_class, name='facebook'):
11 super(MobileFacebookPage, self).__init__( 12 super(MobileFacebookPage, self).__init__(
12 url=url, page_set=page_set, name=name, 13 url=url, page_set=page_set, name=name,
13 credentials_path='data/credentials.json', 14 credentials_path='data/credentials.json',
14 shared_page_state_class=shared_page_state_class) 15 shared_page_state_class=shared_page_state_class)
15 def RunNavigateSteps(self, action_runner): 16 def RunNavigateSteps(self, action_runner):
16 mobile_facebook_login.LoginAccount(action_runner, 'facebook3', 17 facebook_login.LoginWithMobileSite(action_runner, 'facebook3',
17 self.credentials_path) 18 self.credentials_path)
18 super(MobileFacebookPage, self).RunNavigateSteps(action_runner) 19 super(MobileFacebookPage, self).RunNavigateSteps(action_runner)
OLDNEW
« no previous file with comments | « tools/perf/page_sets/login_helpers/mobile_facebook_login.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698