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

Unified Diff: net/PRESUBMIT.py

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/tools/roll/patch.py ('k') | net/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/PRESUBMIT.py
diff --git a/mojo/edk/PRESUBMIT.py b/net/PRESUBMIT.py
similarity index 54%
copy from mojo/edk/PRESUBMIT.py
copy to net/PRESUBMIT.py
index 43d5417e5ae714d51eb8c00f9e59741e2809f777..207cad0629ce866d8f3c948226ec11a359523642 100644
--- a/mojo/edk/PRESUBMIT.py
+++ b/net/PRESUBMIT.py
@@ -2,15 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Presubmit script for mojo/edk.
+"""Top-level presubmit script for src/net.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
"""
def CheckChangeOnUpload(input_api, output_api):
- results = []
- results += input_api.canned_checks.CheckChangeHasOnlyOneEol(input_api,
- output_api)
- results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
- return results
+ return input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
« no previous file with comments | « mojo/tools/roll/patch.py ('k') | net/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698