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

Side by Side Diff: tools/telemetry/telemetry/extension_dict_backend.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 httplib 4 import httplib
5 import json 5 import json
6 import re 6 import re
7 import socket 7 import socket
8 import urllib2 8 import urllib2
9 import weakref 9 import weakref
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 if not self._browser_backend.IsBrowserRunning(): 71 if not self._browser_backend.IsBrowserRunning():
72 raise browser_gone_exception.BrowserGoneException() 72 raise browser_gone_exception.BrowserGoneException()
73 raise browser_gone_exception.BrowserConnectionGoneException() 73 raise browser_gone_exception.BrowserConnectionGoneException()
74 74
75 def _FilterExtensions(self, all_pages): 75 def _FilterExtensions(self, all_pages):
76 return [page_info for page_info in all_pages 76 return [page_info for page_info in all_pages
77 if page_info['url'].startswith('chrome-extension://')] 77 if page_info['url'].startswith('chrome-extension://')]
78 78
79 def _GetExtensionIds(self): 79 def _GetExtensionIds(self):
80 return map(self._GetExtensionId, self._GetExtensionInfoList()) 80 return map(self._GetExtensionId, self._GetExtensionInfoList())
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/extension_dict.py ('k') | tools/telemetry/telemetry/extension_page.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698