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

Side by Side Diff: chrome/browser/resources/web_dev_style/js_checker.py

Issue 11828036: First cut at UI for saving net_logs data into a temporary file on (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 4
5 """Presubmit script for Chromium JS resources. 5 """Presubmit script for Chromium JS resources.
6 6
7 See chrome/browser/resources/PRESUBMIT.py 7 See chrome/browser/resources/PRESUBMIT.py
8 """ 8 """
9 9
10 class JSChecker(object): 10 class JSChecker(object):
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 """ 82 """
83 # TODO(tbreisacher): Once we've cleaned up the style nits in all of 83 # TODO(tbreisacher): Once we've cleaned up the style nits in all of
84 # resources/ we can get rid of this function. 84 # resources/ we can get rid of this function.
85 path = self.input_api.os_path 85 path = self.input_api.os_path
86 resources = self.input_api.PresubmitLocalPath() 86 resources = self.input_api.PresubmitLocalPath()
87 dirs = ( 87 dirs = (
88 path.join(resources, 'extensions'), 88 path.join(resources, 'extensions'),
89 path.join(resources, 'help'), 89 path.join(resources, 'help'),
90 path.join(resources, 'history'), 90 path.join(resources, 'history'),
91 path.join(resources, 'memory_internals'), 91 path.join(resources, 'memory_internals'),
92 path.join(resources, 'net_export'),
92 path.join(resources, 'net_internals'), 93 path.join(resources, 'net_internals'),
93 path.join(resources, 'network_action_predictor'), 94 path.join(resources, 'network_action_predictor'),
94 path.join(resources, 'ntp4'), 95 path.join(resources, 'ntp4'),
95 path.join(resources, 'options'), 96 path.join(resources, 'options'),
96 path.join(resources, 'print_preview'), 97 path.join(resources, 'print_preview'),
97 path.join(resources, 'profiler'), 98 path.join(resources, 'profiler'),
98 path.join(resources, 'sync_promo'), 99 path.join(resources, 'sync_promo'),
99 path.join(resources, 'tracing'), 100 path.join(resources, 'tracing'),
100 path.join(resources, 'uber'), 101 path.join(resources, 'uber'),
101 ) 102 )
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 223
223 if results: 224 if results:
224 results.append(self.output_api.PresubmitNotifyResult( 225 results.append(self.output_api.PresubmitNotifyResult(
225 'See the JavaScript style guide at ' 226 'See the JavaScript style guide at '
226 'http://www.chromium.org/developers/web-development-style-guide' 227 'http://www.chromium.org/developers/web-development-style-guide'
227 '#TOC-JavaScript and if you have any feedback about the JavaScript ' 228 '#TOC-JavaScript and if you have any feedback about the JavaScript '
228 'PRESUBMIT check, contact tbreisacher@chromium.org or ' 229 'PRESUBMIT check, contact tbreisacher@chromium.org or '
229 'dbeam@chromium.org')) 230 'dbeam@chromium.org'))
230 231
231 return results 232 return results
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_export/net_export.js ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698