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

Unified Diff: grit/gather/interface.py

Issue 16539002: GRIT: Enable variable expansion in filenames during HTML inlining. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: Created 7 years, 6 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
Index: grit/gather/interface.py
diff --git a/grit/gather/interface.py b/grit/gather/interface.py
index 084392ad280ce5f83a9b4db5de81e59570baa00a..c277d379b3cc98b87049ff1fe07fe9d4c88e2332 100644
--- a/grit/gather/interface.py
+++ b/grit/gather/interface.py
@@ -152,6 +152,10 @@ class GathererBase(object):
'''
pass
+ def SetFilenameExpansionFunction(self, fn):
+ '''Sets a function for rewriting filenames before gathering.'''
+ pass
+
# TODO(benrg): Move this elsewhere, since it isn't part of the interface.
def _LoadInputFile(self):
'''A convenience function for subclasses that loads the contents of the

Powered by Google App Engine
This is Rietveld 408576698