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

Unified Diff: chrome/browser/web_dev_style/js_checker.py

Issue 253543002: web_dev_style: check webui browser tests as well. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/web_dev_style/css_checker.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_dev_style/js_checker.py
diff --git a/chrome/browser/resources/web_dev_style/js_checker.py b/chrome/browser/web_dev_style/js_checker.py
similarity index 98%
rename from chrome/browser/resources/web_dev_style/js_checker.py
rename to chrome/browser/web_dev_style/js_checker.py
index 6e2e10ea271883dbc7e246aade81b3ae7128bd00..0e224aa84651ff31f2d43d225ccfcf192b6d61ac 100644
--- a/chrome/browser/resources/web_dev_style/js_checker.py
+++ b/chrome/browser/web_dev_style/js_checker.py
@@ -4,7 +4,7 @@
"""Presubmit script for Chromium JS resources.
-See chrome/browser/resources/PRESUBMIT.py
+See chrome/browser/PRESUBMIT.py
"""
class JSChecker(object):
@@ -95,7 +95,7 @@ class JSChecker(object):
# TODO(tbreisacher): Once we've cleaned up the style nits in all of
# resources/ we can get rid of this function.
path = self.input_api.os_path
- resources = self.input_api.PresubmitLocalPath()
+ resources = path.join(self.input_api.PresubmitLocalPath(), 'resources')
dirs = (
path.join(resources, 'bookmark_manager'),
path.join(resources, 'extensions'),
« no previous file with comments | « chrome/browser/web_dev_style/css_checker.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698