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

Unified Diff: PRESUBMIT.py

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 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 | « no previous file | base/atomic_ref_count.h » ('j') | base/callback_internal.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 8b7999da1e000eb1a98cfc903f8bb6acf88d491e..9440100109296e896ff8107686d34cc3408a7ec4 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -55,6 +55,8 @@ def _CheckSingletonInHeaders(input_api, output_api, source_file_filter):
pattern = input_api.re.compile(r'Singleton<')
files = []
for f in input_api.AffectedSourceFiles(source_file_filter):
+ if f.LocalPath().startswith('base/memory/singleton'):
+ continue
if (f.LocalPath().endswith('.h') or f.LocalPath().endswith('.hxx') or
f.LocalPath().endswith('.hpp') or f.LocalPath().endswith('.inl')):
contents = input_api.ReadFile(f)
« no previous file with comments | « no previous file | base/atomic_ref_count.h » ('j') | base/callback_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698