| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 3 # found in the LICENSE file. |  | 
| 4 |  | 
| 5 from page_sets.login_helpers import facebook_login |  | 
| 6 |  | 
| 7 from telemetry.page import page as page_module |  | 
| 8 |  | 
| 9 |  | 
| 10 class MobileFacebookPage(page_module.Page): |  | 
| 11   def __init__(self, url, page_set, shared_page_state_class, name='facebook'): |  | 
| 12     super(MobileFacebookPage, self).__init__( |  | 
| 13         url=url, page_set=page_set, name=name, |  | 
| 14         credentials_path='data/credentials.json', |  | 
| 15         shared_page_state_class=shared_page_state_class) |  | 
| 16   def RunNavigateSteps(self, action_runner): |  | 
| 17     facebook_login.LoginWithMobileSite(action_runner, 'facebook3', |  | 
| 18                                        self.credentials_path) |  | 
| 19     super(MobileFacebookPage, self).RunNavigateSteps(action_runner) |  | 
| OLD | NEW | 
|---|