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

Side by Side Diff: tools/telemetry/telemetry/core/browser_credentials.py

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 import logging 4 import logging
5 import json 5 import json
6 import os 6 import os
7 7
8 from telemetry import facebook_credentials_backend 8 from telemetry.core.chrome import facebook_credentials_backend
9 from telemetry import google_credentials_backend 9 from telemetry.core.chrome import google_credentials_backend
10 from telemetry import options_for_unittests 10 from telemetry.test import options_for_unittests
11 11
12 class BrowserCredentials(object): 12 class BrowserCredentials(object):
13 def __init__(self, backends = None): 13 def __init__(self, backends = None):
14 self._credentials = {} 14 self._credentials = {}
15 self._credentials_path = None 15 self._credentials_path = None
16 self._extra_credentials = {} 16 self._extra_credentials = {}
17 17
18 if backends is None: 18 if backends is None:
19 backends = [ 19 backends = [
20 facebook_credentials_backend.FacebookCredentialsBackend(), 20 facebook_credentials_backend.FacebookCredentialsBackend(),
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 Credentials for %s were not found. %i pages will not be benchmarked. 136 Credentials for %s were not found. %i pages will not be benchmarked.
137 137
138 To fix this, either add svn-internal to your .gclient using 138 To fix this, either add svn-internal to your .gclient using
139 http://goto/read-src-internal, or add your own credentials to: 139 http://goto/read-src-internal, or add your own credentials to:
140 %s 140 %s
141 An example credentials file you can copy from is here: 141 An example credentials file you can copy from is here:
142 %s\n""" % (', '.join(missing_credentials), 142 %s\n""" % (', '.join(missing_credentials),
143 num_pages_missing_login, 143 num_pages_missing_login,
144 ' or '.join(files_to_tweak), 144 ' or '.join(files_to_tweak),
145 example_credentials_file)) 145 example_credentials_file))
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/core/browser.py ('k') | tools/telemetry/telemetry/core/browser_credentials_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698